#401C4E
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
283°
Saturation S
47%
Lightness L
21%
Value V
31%
Temperature
Cool
Brightness
Dark
Chroma
Muted
Hue family
Purple
Contrast on white: 14.06:1 (AA body Pass / AAA Pass)
Contrast on black: 1.49:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#401c4e
Protanopia
#303042
Deuteranopia
#33353f
Tritanopia
#3e3836
Achromatopsia
#2c2c2c
Protanomaly
#392848
Deuteranomaly
#392547
Tritanomaly
#3f2945
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.