#32237F#32237F
#32237F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.147 H 282.7°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #32237F |
|---|---|
| RGB | rgb(50, 35, 127) |
| HSL | hsl(250, 57%, 32%) |
| HSV | hsv(250, 72%, 50%) |
| CMYK | cmyk(60.6%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(21.62, 34.06, -49.63) |
| CIE-LCH | lch(21.62, 60.20, 304.46°) |
| OKLab | oklab(33.91% 0.0323 -0.1429) |
| OKLCH | oklch(33.91% 0.147 282.7) |
| XYZ | xyz(5.7460, 3.4121, 20.4304) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.14
Royal
#0C1793
ΔE00 5.15
Indigo (survey)
#380282
ΔE00 5.87
Indigo
#4B0082
ΔE00 7.09
Dark Royal Blue
#02066F
ΔE00 7.31
Darkblue
#00008B
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32237F #707F23
analogous
#23427F #32237F #60237F
triadic
#32237F #7F3223 #237F32
tetradic
#32237F #7F2342 #707F23 #237F60
square
#32237F #7F2342 #707F23 #237F60
split-complementary
#32237F #7F6023 #427F23
monochromatic
#0C091F #1F164F #32237F #4530AF #634ECE
Accessibility & contrast
On white
12.48
#32237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#32237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32237F
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32237F | 1.00 | 12.48 | 1.68 | 12.48 |
| #FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#033C4E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #32237f; /* rgb */ color: rgb(50, 35, 127); /* oklch */ color: oklch(33.9% 0.147 282.7);
Tailwind
colors: {
custom: {
50: '#735fa5',
500: '#32237f',
950: '#000000',
},
}SCSS
$custom: #32237f; $custom-light: #735fa5; $custom-dark: #000000;
JSON
{
"hex": "#32237f",
"rgb": {
"r": 50,
"g": 35,
"b": 127
},
"hsl": {
"h": 249.783,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.33908,
"c": 0.14653,
"h": 282.7
},
"luminance": 0.03412
}Semantic roles & 50–950 ramp
primary
#32237F
secondary
#A1B14C
accent
#E048C7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F