#331B88
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.033
Hue H
253°
Saturation S
67%
Lightness L
32%
Value V
53%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Blue
Contrast on white: 12.70:1 (AA body Pass / AAA Pass)
Contrast on black: 1.65:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#331b88
Protanopia
#29286e
Deuteranopia
#2a2c67
Tritanopia
#325954
Achromatopsia
#2f2f2f
Protanomaly
#2f237a
Deuteranomaly
#2e2179
Tritanomaly
#323874
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.