#21519F#21519F
#21519F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.137 H 259.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21519F |
|---|---|
| RGB | rgb(33, 81, 159) |
| HSL | hsl(217, 66%, 38%) |
| HSV | hsv(217, 79%, 62%) |
| CMYK | cmyk(79.2%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(35.42, 13.02, -46.97) |
| CIE-LCH | lch(35.42, 48.75, 285.49°) |
| OKLab | oklab(44.74% -0.0244 -0.135) |
| OKLCH | oklch(44.74% 0.137 259.8) |
| XYZ | xyz(9.8254, 8.7102, 33.9576) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.53
Sapphire
#0F52BA
ΔE00 3.35
Cobalt (survey)
#1E488F
ΔE00 3.38
Cobalt
#0047AB
ΔE00 3.75
Denim Blue
#3B5B92
ΔE00 4.16
Light Navy
#155084
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21519F #9F6F21
analogous
#21909F #21519F #30219F
triadic
#21519F #9F2151 #519F21
tetradic
#21519F #9F2190 #9F6F21 #219F30
square
#21519F #9F2190 #9F6F21 #219F30
split-complementary
#21519F #9F3021 #909F21
monochromatic
#0C1D3A #16376C #21519F #2C6BD2 #5D8EDD
Accessibility & contrast
On white
7.66
#21519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#21519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21519F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21519F | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #21519f; /* rgb */ color: rgb(33, 81, 159); /* oklch */ color: oklch(44.7% 0.137 259.8);
Tailwind
colors: {
custom: {
50: '#7081bc',
500: '#21519f',
950: '#000000',
},
}SCSS
$custom: #21519f; $custom-light: #7081bc; $custom-dark: #000000;
JSON
{
"hex": "#21519f",
"rgb": {
"r": 33,
"g": 81,
"b": 159
},
"hsl": {
"h": 217.143,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.44743,
"c": 0.13719,
"h": 259.8
},
"luminance": 0.08711
}Semantic roles & 50–950 ramp
primary
#21519F
secondary
#C29A5A
accent
#A83FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81