#32237E#32237E
#32237E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.145 H 282.9°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #32237E |
|---|---|
| RGB | rgb(50, 35, 126) |
| HSL | hsl(250, 57%, 32%) |
| HSV | hsv(250, 72%, 49%) |
| CMYK | cmyk(60.3%, 72.2%, 0%, 50.6%) |
| CIE-LAB | lab(21.53, 33.73, -49.15) |
| CIE-LCH | lch(21.53, 59.62, 304.46°) |
| OKLab | oklab(33.81% 0.0324 -0.1415) |
| OKLCH | oklch(33.81% 0.145 282.9) |
| XYZ | xyz(5.6812, 3.3862, 20.0888) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.07
Royal
#0C1793
ΔE00 5.28
Indigo (survey)
#380282
ΔE00 5.91
Indigo
#4B0082
ΔE00 7.12
Dark Royal Blue
#02066F
ΔE00 7.29
Darkblue
#00008B
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32237E #6F7E23
analogous
#23427E #32237E #60237E
triadic
#32237E #7E3223 #237E32
tetradic
#32237E #7E2342 #6F7E23 #237E60
square
#32237E #7E2342 #6F7E23 #237E60
split-complementary
#32237E #7E6023 #427E23
monochromatic
#0C081E #1F164E #32237E #4530AE #634ECE
Accessibility & contrast
On white
12.52
#32237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#32237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32237E
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32237E | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#053B4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #32237e; /* rgb */ color: rgb(50, 35, 126); /* oklch */ color: oklch(33.8% 0.145 282.9);
Tailwind
colors: {
custom: {
50: '#735fa4',
500: '#32237e',
950: '#000000',
},
}SCSS
$custom: #32237e; $custom-light: #735fa4; $custom-dark: #000000;
JSON
{
"hex": "#32237e",
"rgb": {
"r": 50,
"g": 35,
"b": 126
},
"hsl": {
"h": 249.89,
"s": 56.522,
"l": 31.569
},
"oklch": {
"l": 0.3381,
"c": 0.14521,
"h": 282.9
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#32237E
secondary
#A0B04C
accent
#E048C7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F