#21559F#21559F
#21559F is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.132 H 257.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #21559F |
|---|---|
| RGB | rgb(33, 85, 159) |
| HSL | hsl(215, 66%, 38%) |
| HSV | hsv(215, 79%, 62%) |
| CMYK | cmyk(79.2%, 46.5%, 0%, 37.6%) |
| CIE-LAB | lab(36.60, 10.36, -45.08) |
| CIE-LCH | lch(36.60, 46.26, 282.94°) |
| OKLab | oklab(45.65% -0.0277 -0.1293) |
| OKLCH | oklch(45.65% 0.132 257.9) |
| XYZ | xyz(10.1314, 9.3223, 34.0596) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.22
Light Navy Blue
#2E5A88
ΔE00 3.49
Denim Blue
#3B5B92
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.63
Light Navy
#155084
ΔE00 4.21
Cobalt (survey)
#1E488F
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21559F #9F6B21
analogous
#21949F #21559F #2C219F
triadic
#21559F #9F2155 #559F21
tetradic
#21559F #9F2194 #9F6B21 #219F2C
square
#21559F #9F2194 #9F6B21 #219F2C
split-complementary
#21559F #9F2C21 #949F21
monochromatic
#0C1F3A #163A6C #21559F #2C70D2 #5D92DD
Accessibility & contrast
On white
7.33
#21559F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#21559F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21559F
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21559F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21559F | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#0F519E
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #21559f; /* rgb */ color: rgb(33, 85, 159); /* oklch */ color: oklch(45.6% 0.132 257.9);
Tailwind
colors: {
custom: {
50: '#7084bc',
500: '#21559f',
950: '#000000',
},
}SCSS
$custom: #21559f; $custom-light: #7084bc; $custom-dark: #000000;
JSON
{
"hex": "#21559f",
"rgb": {
"r": 33,
"g": 85,
"b": 159
},
"hsl": {
"h": 215.238,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.4565,
"c": 0.13228,
"h": 257.9
},
"luminance": 0.09324
}Semantic roles & 50–950 ramp
primary
#21559F
secondary
#C2975A
accent
#A33FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81