#331F5B
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.024
Hue H
260°
Saturation S
49%
Lightness L
24%
Value V
36%
Temperature
Cool
Brightness
Dark
Chroma
Muted
Hue family
Purple
Contrast on white: 14.11:1 (AA body Pass / AAA Pass)
Contrast on black: 1.49:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#331f5b
Protanopia
#2a2a4c
Deuteranopia
#2c2d49
Tritanopia
#32413f
Achromatopsia
#2c2c2c
Protanomaly
#2f2654
Deuteranomaly
#2f2452
Tritanomaly
#322f50
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.