#040E4E
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.009
Hue H
232°
Saturation S
90%
Lightness L
16%
Value V
31%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Blue
Contrast on white: 17.83:1 (AA body Pass / AAA Pass)
Contrast on black: 1.18:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#040e4e
Protanopia
#08083f
Deuteranopia
#08073b
Tritanopia
#053230
Achromatopsia
#121212
Protanomaly
#060b46
Deuteranomaly
#060b45
Tritanomaly
#041f42
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.