#2F2F6F
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.038
Hue H
240°
Saturation S
41%
Lightness L
31%
Value V
44%
Temperature
Cool
Brightness
Dark
Chroma
Muted
Hue family
Blue
Contrast on white: 11.95:1 (AA body Pass / AAA Pass)
Contrast on black: 1.76:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#2f2f6f
Protanopia
#2f2f60
Deuteranopia
#2f2f5c
Tritanopia
#2f5351
Achromatopsia
#363636
Protanomaly
#2f2f67
Deuteranomaly
#2f2f66
Tritanomaly
#2f4063
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.