#21559E#21559E
#21559E is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.131 H 257.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #21559E |
|---|---|
| RGB | rgb(33, 85, 158) |
| HSL | hsl(215, 65%, 37%) |
| HSV | hsv(215, 79%, 62%) |
| CMYK | cmyk(79.1%, 46.2%, 0%, 38%) |
| CIE-LAB | lab(36.53, 9.96, -44.58) |
| CIE-LCH | lch(36.53, 45.68, 282.60°) |
| OKLab | oklab(45.58% -0.0279 -0.1279) |
| OKLCH | oklch(45.58% 0.131 257.7) |
| XYZ | xyz(10.0450, 9.2878, 33.6044) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.10
Light Navy Blue
#2E5A88
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 3.48
Sapphire
#0F52BA
ΔE00 3.76
Light Navy
#155084
ΔE00 4.09
Cobalt (survey)
#1E488F
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21559E #9E6A21
analogous
#21949E #21559E #2C219E
triadic
#21559E #9E2155 #559E21
tetradic
#21559E #9E2194 #9E6A21 #219E2C
square
#21559E #9E2194 #9E6A21 #219E2C
split-complementary
#21559E #9E2C21 #949E21
monochromatic
#0C1F39 #163A6B #21559E #2C70D1 #5C92DD
Accessibility & contrast
On white
7.35
#21559E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#21559E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21559E
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21559E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21559E | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#11519D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #21559e; /* rgb */ color: rgb(33, 85, 158); /* oklch */ color: oklch(45.6% 0.131 257.7);
Tailwind
colors: {
custom: {
50: '#7084bb',
500: '#21559e',
950: '#000000',
},
}SCSS
$custom: #21559e; $custom-light: #7084bb; $custom-dark: #000000;
JSON
{
"hex": "#21559e",
"rgb": {
"r": 33,
"g": 85,
"b": 158
},
"hsl": {
"h": 215.04,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.45579,
"c": 0.1309,
"h": 257.7
},
"luminance": 0.09289
}Semantic roles & 50–950 ramp
primary
#21559E
secondary
#C19659
accent
#A23FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81