#2F2D67
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.035
Hue H
242°
Saturation S
39%
Lightness L
29%
Value V
40%
Temperature
Cool
Brightness
Dark
Chroma
Muted
Hue family
Blue
Contrast on white: 12.41:1 (AA body Pass / AAA Pass)
Contrast on black: 1.69:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#2f2d67
Protanopia
#2e2e59
Deuteranopia
#2e2e56
Tritanopia
#2f4e4b
Achromatopsia
#343434
Protanomaly
#2f2e60
Deuteranomaly
#2f2e5f
Tritanomaly
#2f3c5c
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.