#2A0C8D
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.027
Hue H
254°
Saturation S
84%
Lightness L
30%
Value V
55%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Blue
Contrast on white: 13.67:1 (AA body Pass / AAA Pass)
Contrast on black: 1.54:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#2a0c8d
Protanopia
#1d1d6e
Deuteranopia
#1f2166
Tritanopia
#295550
Achromatopsia
#242424
Protanomaly
#25167d
Deuteranomaly
#24147b
Tritanomaly
#292e75
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.