#21459E#21459E
#21459E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.151 H 264.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #21459E |
|---|---|
| RGB | rgb(33, 69, 158) |
| HSL | hsl(223, 65%, 37%) |
| HSV | hsv(223, 79%, 62%) |
| CMYK | cmyk(79.1%, 56.3%, 0%, 38%) |
| CIE-LAB | lab(31.91, 20.73, -52.05) |
| CIE-LCH | lch(31.91, 56.02, 291.72°) |
| OKLab | oklab(42.05% -0.0152 -0.1502) |
| OKLCH | oklch(42.05% 0.151 264.2) |
| XYZ | xyz(8.9247, 7.0472, 33.2310) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.27
Cobalt (survey)
#1E488F
ΔE00 2.96
Sapphire (survey)
#2138AB
ΔE00 5.14
Darkish Blue
#014182
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.43
Dusk Blue
#26538D
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21459E #9E7A21
analogous
#21849E #21459E #3C219E
triadic
#21459E #9E2145 #459E21
tetradic
#21459E #9E2184 #9E7A21 #219E3C
square
#21459E #9E2184 #9E7A21 #219E3C
split-complementary
#21459E #9E3C21 #849E21
monochromatic
#0C1939 #162F6B #21459E #2C5BD1 #5C81DD
Accessibility & contrast
On white
8.72
#21459E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#21459E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21459E
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21459E | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #21459e; /* rgb */ color: rgb(33, 69, 158); /* oklch */ color: oklch(42.1% 0.151 264.2);
Tailwind
colors: {
custom: {
50: '#7178bb',
500: '#21459e',
950: '#000000',
},
}SCSS
$custom: #21459e; $custom-light: #7178bb; $custom-dark: #000000;
JSON
{
"hex": "#21459e",
"rgb": {
"r": 33,
"g": 69,
"b": 158
},
"hsl": {
"h": 222.72,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.42051,
"c": 0.15093,
"h": 264.2
},
"luminance": 0.07048
}Semantic roles & 50–950 ramp
primary
#21459E
secondary
#C1A359
accent
#B83FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81