Dark soft indigo
#31227C
#31227C colour
#31227C is a dark, clear blue. The closest everyday name is Midnight Blue (#191970).
- HEX
#31227c - RGB
rgb(49 34 124) - HSL
hsl(250 57% 31%) - HSV / HSB
hsv(250 72.6% 48.6%) - HWB
hwb(250 13.3% 51.4%) - OKLCH
oklch(33.37% 0.1439 282.93) - CIELAB
lab(20.25% 28.17 -49.76) - CMYK
cmyk(60% 73% 0% 51%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
12.72:1 · AA
Black text
1.65:1 · Fails
On white
12.72:1 · AAA
On black
1.65:1 · Fails
Colour harmonies
Complementary
Harmonies are calculated on the perceptual OKLCH hue wheel. Explore them on the colour wheel.
Shades and tints
Build a 50–950 scale from #31227C · Turn it into a brand palette