#21408F#21408F
#21408F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.136 H 264.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #21408F |
|---|---|
| RGB | rgb(33, 64, 143) |
| HSL | hsl(223, 63%, 35%) |
| HSV | hsv(223, 77%, 56%) |
| CMYK | cmyk(76.9%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(29.34, 18.22, -47.07) |
| CIE-LCH | lch(29.34, 50.48, 291.16°) |
| OKLab | oklab(39.74% -0.0126 -0.1356) |
| OKLCH | oklch(39.74% 0.136 264.7) |
| XYZ | xyz(7.4168, 5.9725, 26.7432) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.14
Darkish Blue
#014182
ΔE00 4.12
Cobalt
#0047AB
ΔE00 4.40
Twilight Blue
#0A437A
ΔE00 5.21
Sapphire (survey)
#2138AB
ΔE00 5.56
Blueberry
#464196
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21408F #8F7021
analogous
#21778F #21408F #39218F
triadic
#21408F #8F2140 #408F21
tetradic
#21408F #8F2177 #8F7021 #218F39
square
#21408F #8F2177 #8F7021 #218F39
split-complementary
#21408F #8F3921 #778F21
monochromatic
#0A132C #162A5D #21408F #2C56C1 #5378D7
Accessibility & contrast
On white
9.57
#21408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#21408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21408F
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21408F | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #21408f; /* rgb */ color: rgb(33, 64, 143); /* oklch */ color: oklch(39.7% 0.136 264.7);
Tailwind
colors: {
custom: {
50: '#6d74b0',
500: '#21408f',
950: '#000000',
},
}SCSS
$custom: #21408f; $custom-light: #6d74b0; $custom-dark: #000000;
JSON
{
"hex": "#21408f",
"rgb": {
"r": 33,
"g": 64,
"b": 143
},
"hsl": {
"h": 223.091,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.39742,
"c": 0.13621,
"h": 264.7
},
"luminance": 0.05973
}Semantic roles & 50–950 ramp
primary
#21408F
secondary
#BB9D51
accent
#B842E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80