#21549C#21549C
#21549C is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.2% C 0.129 H 257.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #21549C |
|---|---|
| RGB | rgb(33, 84, 156) |
| HSL | hsl(215, 65%, 37%) |
| HSV | hsv(215, 79%, 61%) |
| CMYK | cmyk(78.8%, 46.2%, 0%, 38.8%) |
| CIE-LAB | lab(36.11, 9.83, -44.07) |
| CIE-LCH | lch(36.11, 45.15, 282.58°) |
| OKLab | oklab(45.21% -0.0274 -0.1264) |
| OKLCH | oklch(45.21% 0.129 257.8) |
| XYZ | xyz(9.7961, 9.0631, 32.6791) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.82
Light Navy Blue
#2E5A88
ΔE00 3.44
Denim Blue
#3B5B92
ΔE00 3.56
Light Navy
#155084
ΔE00 3.86
Sapphire
#0F52BA
ΔE00 3.89
Cobalt (survey)
#1E488F
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21549C #9C6921
analogous
#21929C #21549C #2C219C
triadic
#21549C #9C2154 #549C21
tetradic
#21549C #9C2192 #9C6921 #219C2C
square
#21549C #9C2192 #9C6921 #219C2C
split-complementary
#21549C #9C2C21 #929C21
monochromatic
#0C1E37 #163969 #21549C #2C6FCF #5B91DC
Accessibility & contrast
On white
7.47
#21549C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#21549C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21549C
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21549C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21549C | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #21549c; /* rgb */ color: rgb(33, 84, 156); /* oklch */ color: oklch(45.2% 0.129 257.8);
Tailwind
colors: {
custom: {
50: '#6f83ba',
500: '#21549c',
950: '#000000',
},
}SCSS
$custom: #21549c; $custom-light: #6f83ba; $custom-dark: #000000;
JSON
{
"hex": "#21549c",
"rgb": {
"r": 33,
"g": 84,
"b": 156
},
"hsl": {
"h": 215.122,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.45207,
"c": 0.12934,
"h": 257.8
},
"luminance": 0.09064
}Semantic roles & 50–950 ramp
primary
#21549C
secondary
#C19558
accent
#A240E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80