#21418E#21418E
#21418E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.133 H 264.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #21418E |
|---|---|
| RGB | rgb(33, 65, 142) |
| HSL | hsl(222, 62%, 34%) |
| HSV | hsv(222, 77%, 56%) |
| CMYK | cmyk(76.8%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(29.55, 17.13, -46.12) |
| CIE-LCH | lch(29.55, 49.20, 290.38°) |
| OKLab | oklab(39.88% -0.0135 -0.1328) |
| OKLCH | oklch(39.88% 0.133 264.2) |
| XYZ | xyz(7.3982, 6.0561, 26.3650) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.74
Darkish Blue
#014182
ΔE00 3.81
Cobalt
#0047AB
ΔE00 4.34
Twilight Blue
#0A437A
ΔE00 4.87
Sapphire (survey)
#2138AB
ΔE00 5.94
Prussian Blue
#004577
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21418E #8E6E21
analogous
#21788E #21418E #37218E
triadic
#21418E #8E2141 #418E21
tetradic
#21418E #8E2178 #8E6E21 #218E37
square
#21418E #8E2178 #8E6E21 #218E37
split-complementary
#21418E #8E3721 #788E21
monochromatic
#0A142B #152A5C #21418E #2D58C0 #5279D7
Accessibility & contrast
On white
9.50
#21418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#21418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21418E
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21418E | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084B91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #21418e; /* rgb */ color: rgb(33, 65, 142); /* oklch */ color: oklch(39.9% 0.133 264.2);
Tailwind
colors: {
custom: {
50: '#6d75b0',
500: '#21418e',
950: '#000000',
},
}SCSS
$custom: #21418e; $custom-light: #6d75b0; $custom-dark: #000000;
JSON
{
"hex": "#21418e",
"rgb": {
"r": 33,
"g": 65,
"b": 142
},
"hsl": {
"h": 222.385,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.39877,
"c": 0.13348,
"h": 264.2
},
"luminance": 0.06057
}Semantic roles & 50–950 ramp
primary
#21418E
secondary
#BA9B50
accent
#B642E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F