#21529E#21529E
#21529E is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.135 H 259.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #21529E |
|---|---|
| RGB | rgb(33, 82, 158) |
| HSL | hsl(216, 65%, 37%) |
| HSV | hsv(216, 79%, 62%) |
| CMYK | cmyk(79.1%, 48.1%, 0%, 38%) |
| CIE-LAB | lab(35.65, 11.96, -46.01) |
| CIE-LCH | lch(35.65, 47.54, 284.57°) |
| OKLab | oklab(44.9% -0.0254 -0.1321) |
| OKLCH | oklch(44.9% 0.135 259.1) |
| XYZ | xyz(9.8138, 8.8254, 33.5274) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.24
Sapphire
#0F52BA
ΔE00 3.49
Cobalt (survey)
#1E488F
ΔE00 3.62
Denim Blue
#3B5B92
ΔE00 3.92
Light Navy Blue
#2E5A88
ΔE00 4.13
Cobalt
#0047AB
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21529E #9E6D21
analogous
#21919E #21529E #2F219E
triadic
#21529E #9E2152 #529E21
tetradic
#21529E #9E2191 #9E6D21 #219E2F
square
#21529E #9E2191 #9E6D21 #219E2F
split-complementary
#21529E #9E2F21 #919E21
monochromatic
#0C1D39 #16386B #21529E #2C6CD1 #5C8FDD
Accessibility & contrast
On white
7.59
#21529E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#21529E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21529E
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21529E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21529E | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#014F9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #21529e; /* rgb */ color: rgb(33, 82, 158); /* oklch */ color: oklch(44.9% 0.135 259.1);
Tailwind
colors: {
custom: {
50: '#7082bb',
500: '#21529e',
950: '#000000',
},
}SCSS
$custom: #21529e; $custom-light: #7082bb; $custom-dark: #000000;
JSON
{
"hex": "#21529e",
"rgb": {
"r": 33,
"g": 82,
"b": 158
},
"hsl": {
"h": 216.48,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.44895,
"c": 0.13456,
"h": 259.1
},
"luminance": 0.08827
}Semantic roles & 50–950 ramp
primary
#21529E
secondary
#C19959
accent
#A63FE8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81