#2E1F52
Approximate name: Midnight Blue
Technical formats
Color-space values for scientific work and cross-device comparison.
Practical formats
Ready to paste into CSS, Tailwind, iOS, Android, Flutter, and more.
Color analysis
Objective metrics: luminance, hue, saturation, temperature, and contrast.
Nearest name
MidnightBlue
Relative luminance
0.022
Hue H
258°
Saturation S
45%
Lightness L
22%
Value V
32%
Temperature
Cool
Brightness
Dark
Chroma
Muted
Hue family
Purple
Contrast on white: 14.64:1 (AA body Pass / AAA Pass)
Contrast on black: 1.43:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#2e1f52
Protanopia
#282746
Deuteranopia
#282943
Tritanopia
#2d3c3a
Achromatopsia
#292929
Protanomaly
#2b244c
Deuteranomaly
#2b234b
Tritanomaly
#2e2d49
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.