#21519E#21519E
#21519E is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.136 H 259.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #21519E |
|---|---|
| RGB | rgb(33, 81, 158) |
| HSL | hsl(217, 65%, 37%) |
| HSV | hsv(217, 79%, 62%) |
| CMYK | cmyk(79.1%, 48.7%, 0%, 38%) |
| CIE-LAB | lab(35.35, 12.62, -46.48) |
| CIE-LCH | lch(35.35, 48.17, 285.19°) |
| OKLab | oklab(44.67% -0.0245 -0.1336) |
| OKLCH | oklch(44.67% 0.136 259.6) |
| XYZ | xyz(9.7389, 8.6757, 33.5024) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.40
Cobalt (survey)
#1E488F
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 3.47
Cobalt
#0047AB
ΔE00 3.83
Denim Blue
#3B5B92
ΔE00 4.13
Light Navy
#155084
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21519E #9E6E21
analogous
#21909E #21519E #30219E
triadic
#21519E #9E2151 #519E21
tetradic
#21519E #9E2190 #9E6E21 #219E30
square
#21519E #9E2190 #9E6E21 #219E30
split-complementary
#21519E #9E3021 #909E21
monochromatic
#0C1D39 #16376B #21519E #2C6BD1 #5C8EDD
Accessibility & contrast
On white
7.68
#21519E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#21519E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21519E
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21519E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21519E | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #21519e; /* rgb */ color: rgb(33, 81, 158); /* oklch */ color: oklch(44.7% 0.136 259.6);
Tailwind
colors: {
custom: {
50: '#7081bb',
500: '#21519e',
950: '#000000',
},
}SCSS
$custom: #21519e; $custom-light: #7081bb; $custom-dark: #000000;
JSON
{
"hex": "#21519e",
"rgb": {
"r": 33,
"g": 81,
"b": 158
},
"hsl": {
"h": 216.96,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.44669,
"c": 0.13579,
"h": 259.6
},
"luminance": 0.08677
}Semantic roles & 50–950 ramp
primary
#21519E
secondary
#C19959
accent
#A83FE8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81