#331E47
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.021
Hue H
271°
Saturation S
41%
Lightness L
20%
Value V
28%
Temperature
Cool
Brightness
Dark
Chroma
Muted
Hue family
Purple
Contrast on white: 14.82:1 (AA body Pass / AAA Pass)
Contrast on black: 1.42:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#331e47
Protanopia
#2a2a3d
Deuteranopia
#2b2d3b
Tritanopia
#323534
Achromatopsia
#292929
Protanomaly
#2f2542
Deuteranomaly
#2f2341
Tritanomaly
#32293f
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.