#21207B#21207B
#21207B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.148 H 274.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #21207B |
|---|---|
| RGB | rgb(33, 32, 123) |
| HSL | hsl(241, 59%, 30%) |
| HSV | hsv(241, 74%, 48%) |
| CMYK | cmyk(73.2%, 74%, 0%, 51.8%) |
| CIE-LAB | lab(19.17, 32.18, -51.18) |
| CIE-LCH | lch(19.17, 60.45, 302.16°) |
| OKLab | oklab(31.67% 0.0113 -0.148) |
| OKLCH | oklch(31.67% 0.148 274.4) |
| XYZ | xyz(4.7177, 2.7860, 19.0242) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.31
Royal
#0C1793
ΔE00 4.41
Dark Royal Blue
#02066F
ΔE00 5.91
Deep Blue
#040273
ΔE00 6.37
Darkblue (survey)
#030764
ΔE00 6.44
Navy
#000080
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21207B #7A7B20
analogous
#204D7B #21207B #4E207B
triadic
#21207B #7B2120 #207B21
tetradic
#21207B #7B204D #7A7B20 #207B4E
square
#21207B #7B204D #7A7B20 #207B4E
split-complementary
#21207B #7B4E20 #4D7B20
monochromatic
#07071A #14134A #21207B #2E2DAC #4846CF
Accessibility & contrast
On white
13.49
#21207B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#21207B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21207B
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21207B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21207B | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #21207b; /* rgb */ color: rgb(33, 32, 123); /* oklch */ color: oklch(31.7% 0.148 274.4);
Tailwind
colors: {
custom: {
50: '#6b5ca2',
500: '#21207b',
950: '#000000',
},
}SCSS
$custom: #21207b; $custom-light: #6b5ca2; $custom-dark: #000000;
JSON
{
"hex": "#21207b",
"rgb": {
"r": 33,
"g": 32,
"b": 123
},
"hsl": {
"h": 240.659,
"s": 58.71,
"l": 30.392
},
"oklch": {
"l": 0.31674,
"c": 0.1484,
"h": 274.4
},
"luminance": 0.02786
}Semantic roles & 50–950 ramp
primary
#21207B
secondary
#ADAE49
accent
#E246E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F