#21107D#21107D
#21107D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.166 H 276.4°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #21107D |
|---|---|
| RGB | rgb(33, 16, 125) |
| HSL | hsl(249, 77%, 28%) |
| HSV | hsv(249, 87%, 49%) |
| CMYK | cmyk(73.6%, 87.2%, 0%, 51%) |
| CIE-LAB | lab(16.38, 41.50, -57.07) |
| CIE-LCH | lch(16.38, 70.56, 306.03°) |
| OKLab | oklab(29.79% 0.0185 -0.1649) |
| OKLCH | oklch(29.79% 0.166 276.4) |
| XYZ | xyz(4.5130, 2.1742, 19.5799) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.11
Deep Blue
#040273
ΔE00 3.34
Darkblue
#00008B
ΔE00 3.39
Midnight Blue
#191970
ΔE00 3.39
Dark Royal Blue
#02066F
ΔE00 3.41
Indigo (survey)
#380282
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21107D #6C7D10
analogous
#10357D #21107D #58107D
triadic
#21107D #7D2110 #107D21
tetradic
#21107D #7D1035 #6C7D10 #107D58
square
#21107D #7D1035 #6C7D10 #107D58
split-complementary
#21107D #7D5810 #357D10
monochromatic
#07031B #130947 #21107D #2F17B3 #4224E3
Accessibility & contrast
On white
14.63
#21107D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#21107D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21107D
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21107D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21107D | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #21107d; /* rgb */ color: rgb(33, 16, 125); /* oklch */ color: oklch(29.8% 0.166 276.4);
Tailwind
colors: {
custom: {
50: '#6d53a4',
500: '#21107d',
950: '#000000',
},
}SCSS
$custom: #21107d; $custom-light: #6d53a4; $custom-dark: #000000;
JSON
{
"hex": "#21107d",
"rgb": {
"r": 33,
"g": 16,
"b": 125
},
"hsl": {
"h": 249.358,
"s": 77.305,
"l": 27.647
},
"oklch": {
"l": 0.29786,
"c": 0.16593,
"h": 276.4
},
"luminance": 0.02175
}Semantic roles & 50–950 ramp
primary
#21107D
secondary
#A0B335
accent
#F434D6
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F