#331A60
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.023
Hue H
261°
Saturation S
57%
Lightness L
24%
Value V
38%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Purple
Contrast on white: 14.41:1 (AA body Pass / AAA Pass)
Contrast on black: 1.46:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#331a60
Protanopia
#28284f
Deuteranopia
#2a2b4b
Tritanopia
#32423f
Achromatopsia
#292929
Protanomaly
#2e2257
Deuteranomaly
#2e2056
Tritanomaly
#322d53
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.