#331D7C
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.03
Hue H
254°
Saturation S
62%
Lightness L
30%
Value V
49%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Blue
Contrast on white: 13.06:1 (AA body Pass / AAA Pass)
Contrast on black: 1.61:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#331d7c
Protanopia
#292965
Deuteranopia
#2b2c60
Tritanopia
#32534f
Achromatopsia
#2e2e2e
Protanomaly
#2f2470
Deuteranomaly
#2f236f
Tritanomaly
#32366b
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.