#2C166C
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.022
Hue H
255°
Saturation S
66%
Lightness L
25%
Value V
42%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Purple
Contrast on white: 14.60:1 (AA body Pass / AAA Pass)
Contrast on black: 1.44:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#2c166c
Protanopia
#222257
Deuteranopia
#242552
Tritanopia
#2b4743
Achromatopsia
#262626
Protanomaly
#281d61
Deuteranomaly
#281c60
Tritanomaly
#2b2d5c
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.