#040D41
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.007
Hue H
231°
Saturation S
88%
Lightness L
14%
Value V
25%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Blue
Contrast on white: 18.44:1 (AA body Pass / AAA Pass)
Contrast on black: 1.14:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#040d41
Protanopia
#080834
Deuteranopia
#070731
Tritanopia
#042a28
Achromatopsia
#101010
Protanomaly
#060a3b
Deuteranomaly
#060b3a
Tritanomaly
#041b37
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.