#21549E#21549E
#21549E is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.132 H 258.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #21549E |
|---|---|
| RGB | rgb(33, 84, 158) |
| HSL | hsl(216, 65%, 37%) |
| HSV | hsv(216, 79%, 62%) |
| CMYK | cmyk(79.1%, 46.8%, 0%, 38%) |
| CIE-LAB | lab(36.24, 10.63, -45.06) |
| CIE-LCH | lch(36.24, 46.30, 283.27°) |
| OKLab | oklab(45.35% -0.027 -0.1293) |
| OKLCH | oklch(45.35% 0.132 258.2) |
| XYZ | xyz(9.9668, 9.1314, 33.5784) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.08
Denim Blue
#3B5B92
ΔE00 3.59
Light Navy Blue
#2E5A88
ΔE00 3.62
Sapphire
#0F52BA
ΔE00 3.63
Light Navy
#155084
ΔE00 4.11
Cobalt (survey)
#1E488F
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21549E #9E6B21
analogous
#21939E #21549E #2D219E
triadic
#21549E #9E2154 #549E21
tetradic
#21549E #9E2193 #9E6B21 #219E2D
square
#21549E #9E2193 #9E6B21 #219E2D
split-complementary
#21549E #9E2D21 #939E21
monochromatic
#0C1E39 #16396B #21549E #2C6FD1 #5C91DD
Accessibility & contrast
On white
7.43
#21549E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#21549E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21549E
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21549E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21549E | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #21549e; /* rgb */ color: rgb(33, 84, 158); /* oklch */ color: oklch(45.4% 0.132 258.2);
Tailwind
colors: {
custom: {
50: '#7083bb',
500: '#21549e',
950: '#000000',
},
}SCSS
$custom: #21549e; $custom-light: #7083bb; $custom-dark: #000000;
JSON
{
"hex": "#21549e",
"rgb": {
"r": 33,
"g": 84,
"b": 158
},
"hsl": {
"h": 215.52,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.4535,
"c": 0.13212,
"h": 258.2
},
"luminance": 0.09133
}Semantic roles & 50–950 ramp
primary
#21549E
secondary
#C19759
accent
#A33FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81