#331F7A
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.031
Hue H
253°
Saturation S
59%
Lightness L
30%
Value V
48%
Temperature
Cool
Brightness
Dark
Chroma
Vivid
Hue family
Blue
Contrast on white: 12.98:1 (AA body Pass / AAA Pass)
Contrast on black: 1.62:1 (AA body Fail / AAA Fail)
Open full contrast tool →Color blindness simulator
Approximate appearance under common color-vision deficiencies (matrix simulation).
Normal vision
#331f7a
Protanopia
#2a2a64
Deuteranopia
#2c2d5f
Tritanopia
#32534f
Achromatopsia
#2f2f2f
Protanomaly
#2f266f
Deuteranomaly
#2f246d
Tritanomaly
#323769
Creative pairings
Hue-wheel harmonies and 10% shade/tint steps — not AI-generated copy.