#21408E#21408E
#21408E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.135 H 264.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #21408E |
|---|---|
| RGB | rgb(33, 64, 142) |
| HSL | hsl(223, 62%, 34%) |
| HSV | hsv(223, 77%, 56%) |
| CMYK | cmyk(76.8%, 54.9%, 0%, 44.3%) |
| CIE-LAB | lab(29.27, 17.82, -46.58) |
| CIE-LCH | lch(29.27, 49.88, 290.94°) |
| OKLab | oklab(39.66% -0.0127 -0.1342) |
| OKLCH | oklch(39.66% 0.135 264.6) |
| XYZ | xyz(7.3414, 5.9423, 26.3460) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.10
Darkish Blue
#014182
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.50
Twilight Blue
#0A437A
ΔE00 5.10
Sapphire (survey)
#2138AB
ΔE00 5.70
Blueberry
#464196
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21408E #8E6F21
analogous
#21778E #21408E #39218E
triadic
#21408E #8E2140 #408E21
tetradic
#21408E #8E2177 #8E6F21 #218E39
square
#21408E #8E2177 #8E6F21 #218E39
split-complementary
#21408E #8E3921 #778E21
monochromatic
#0A132B #152A5C #21408E #2D56C0 #5278D7
Accessibility & contrast
On white
9.60
#21408E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#21408E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21408E
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21408E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21408E | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #21408e; /* rgb */ color: rgb(33, 64, 142); /* oklch */ color: oklch(39.7% 0.135 264.6);
Tailwind
colors: {
custom: {
50: '#6d74b0',
500: '#21408e',
950: '#000000',
},
}SCSS
$custom: #21408e; $custom-light: #6d74b0; $custom-dark: #000000;
JSON
{
"hex": "#21408e",
"rgb": {
"r": 33,
"g": 64,
"b": 142
},
"hsl": {
"h": 222.936,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.3966,
"c": 0.13478,
"h": 264.6
},
"luminance": 0.05943
}Semantic roles & 50–950 ramp
primary
#21408E
secondary
#BA9C50
accent
#B742E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F