#2F005C
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.014
Hue H
271°
Saturation S
100%
Lightness L
18%
Value V
36%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Purple
Contrast on white: 16.47:1 (AA body Pass / AAA Pass)
Contrast on black: 1.28:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#2f005c
Protanopia
#1b1a46
Deuteranopia
#1d2140
Tritanopia
#2d3430
Achromatopsia
#191919
Protanomaly
#261051
Deuteranomaly
#260c4f
Tritanomaly
#2d194b
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.