#2F2F5F
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
240°
Saturation S
34%
Lightness L
28%
Value V
37%
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
#2f2f5f
Protanopia
#2f2f53
Deuteranopia
#2f2f51
Tritanopia
#2f4a48
Achromatopsia
#343434
Protanomaly
#2f2f59
Deuteranomaly
#2f2f58
Tritanomaly
#2f3c56
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.