#21529F#21529F
#21529F is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.136 H 259.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #21529F |
|---|---|
| RGB | rgb(33, 82, 159) |
| HSL | hsl(217, 66%, 38%) |
| HSV | hsv(217, 79%, 62%) |
| CMYK | cmyk(79.2%, 48.4%, 0%, 37.6%) |
| CIE-LAB | lab(35.71, 12.35, -46.50) |
| CIE-LCH | lch(35.71, 48.11, 284.88°) |
| OKLab | oklab(44.97% -0.0252 -0.1336) |
| OKLCH | oklch(44.97% 0.136 259.3) |
| XYZ | xyz(9.9002, 8.8600, 33.9825) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.37
Sapphire
#0F52BA
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 3.67
Denim Blue
#3B5B92
ΔE00 3.95
Cobalt
#0047AB
ΔE00 4.07
Light Navy Blue
#2E5A88
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21529F #9F6E21
analogous
#21919F #21529F #2F219F
triadic
#21529F #9F2152 #529F21
tetradic
#21529F #9F2191 #9F6E21 #219F2F
square
#21529F #9F2191 #9F6E21 #219F2F
split-complementary
#21529F #9F2F21 #919F21
monochromatic
#0C1E3A #16386C #21529F #2C6CD2 #5D8FDD
Accessibility & contrast
On white
7.58
#21529F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#21529F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21529F
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21529F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21529F | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #21529f; /* rgb */ color: rgb(33, 82, 159); /* oklch */ color: oklch(45.0% 0.136 259.3);
Tailwind
colors: {
custom: {
50: '#7082bc',
500: '#21529f',
950: '#000000',
},
}SCSS
$custom: #21529f; $custom-light: #7082bc; $custom-dark: #000000;
JSON
{
"hex": "#21529f",
"rgb": {
"r": 33,
"g": 82,
"b": 159
},
"hsl": {
"h": 216.667,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.44968,
"c": 0.13596,
"h": 259.3
},
"luminance": 0.08861
}Semantic roles & 50–950 ramp
primary
#21529F
secondary
#C2995A
accent
#A73FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81