#21529C#21529C
#21529C is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.7% C 0.132 H 258.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #21529C |
|---|---|
| RGB | rgb(33, 82, 156) |
| HSL | hsl(216, 65%, 37%) |
| HSV | hsv(216, 79%, 61%) |
| CMYK | cmyk(78.8%, 47.4%, 0%, 38.8%) |
| CIE-LAB | lab(35.51, 11.16, -45.02) |
| CIE-LCH | lch(35.51, 46.39, 283.93°) |
| OKLab | oklab(44.75% -0.0257 -0.1292) |
| OKLCH | oklch(44.75% 0.132 258.7) |
| XYZ | xyz(9.6430, 8.7571, 32.6281) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.98
Cobalt (survey)
#1E488F
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 3.75
Denim Blue
#3B5B92
ΔE00 3.87
Light Navy Blue
#2E5A88
ΔE00 3.97
Light Navy
#155084
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21529C #9C6B21
analogous
#218F9C #21529C #2E219C
triadic
#21529C #9C2152 #529C21
tetradic
#21529C #9C218F #9C6B21 #219C2E
square
#21529C #9C218F #9C6B21 #219C2E
split-complementary
#21529C #9C2E21 #8F9C21
monochromatic
#0C1D37 #163769 #21529C #2C6DCF #5B8FDC
Accessibility & contrast
On white
7.63
#21529C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#21529C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21529C
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21529C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21529C | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#084E9B
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #21529c; /* rgb */ color: rgb(33, 82, 156); /* oklch */ color: oklch(44.7% 0.132 258.7);
Tailwind
colors: {
custom: {
50: '#7082ba',
500: '#21529c',
950: '#000000',
},
}SCSS
$custom: #21529c; $custom-light: #7082ba; $custom-dark: #000000;
JSON
{
"hex": "#21529c",
"rgb": {
"r": 33,
"g": 82,
"b": 156
},
"hsl": {
"h": 216.098,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.44749,
"c": 0.13177,
"h": 258.7
},
"luminance": 0.08758
}Semantic roles & 50–950 ramp
primary
#21529C
secondary
#C19758
accent
#A540E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80