#21439E#21439E
#21439E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.153 H 264.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #21439E |
|---|---|
| RGB | rgb(33, 67, 158) |
| HSL | hsl(224, 65%, 37%) |
| HSV | hsv(224, 79%, 62%) |
| CMYK | cmyk(79.1%, 57.6%, 0%, 38%) |
| CIE-LAB | lab(31.36, 22.09, -52.95) |
| CIE-LCH | lch(31.36, 57.37, 292.65°) |
| OKLab | oklab(41.63% -0.0138 -0.1528) |
| OKLCH | oklch(41.63% 0.153 264.9) |
| XYZ | xyz(8.8037, 6.8053, 33.1907) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.65
Cobalt (survey)
#1E488F
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 4.50
Darkish Blue
#014182
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.94
Sapphire
#0F52BA
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21439E #9E7C21
analogous
#21829E #21439E #3E219E
triadic
#21439E #9E2143 #439E21
tetradic
#21439E #9E2182 #9E7C21 #219E3E
square
#21439E #9E2182 #9E7C21 #219E3E
split-complementary
#21439E #9E3E21 #829E21
monochromatic
#0C1839 #162E6B #21439E #2C58D1 #5C7FDD
Accessibility & contrast
On white
8.89
#21439E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#21439E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21439E
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21439E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21439E | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #21439e; /* rgb */ color: rgb(33, 67, 158); /* oklch */ color: oklch(41.6% 0.153 264.9);
Tailwind
colors: {
custom: {
50: '#7176bb',
500: '#21439e',
950: '#000000',
},
}SCSS
$custom: #21439e; $custom-light: #7176bb; $custom-dark: #000000;
JSON
{
"hex": "#21439e",
"rgb": {
"r": 33,
"g": 67,
"b": 158
},
"hsl": {
"h": 223.68,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.41633,
"c": 0.15346,
"h": 264.9
},
"luminance": 0.06806
}Semantic roles & 50–950 ramp
primary
#21439E
secondary
#C1A559
accent
#BA3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81