#331D66
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.025
Hue H
258°
Saturation S
56%
Lightness L
26%
Value V
40%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Purple
Contrast on white: 13.92:1 (AA body Pass / AAA Pass)
Contrast on black: 1.51:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#331d66
Protanopia
#292954
Deuteranopia
#2b2c50
Tritanopia
#324643
Achromatopsia
#2c2c2c
Protanomaly
#2f245d
Deuteranomaly
#2f235c
Tritanomaly
#323059
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.