#21579F#21579F
#21579F is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.1% C 0.130 H 256.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #21579F |
|---|---|
| RGB | rgb(33, 87, 159) |
| HSL | hsl(214, 66%, 38%) |
| HSV | hsv(214, 79%, 62%) |
| CMYK | cmyk(79.2%, 45.3%, 0%, 37.6%) |
| CIE-LAB | lab(37.19, 9.04, -44.13) |
| CIE-LCH | lch(37.19, 45.04, 281.57°) |
| OKLab | oklab(46.11% -0.0294 -0.1265) |
| OKLCH | oklch(46.11% 0.13 256.9) |
| XYZ | xyz(10.2911, 9.6417, 34.1128) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.42
Light Navy Blue
#2E5A88
ΔE00 3.11
Denim Blue
#3B5B92
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 3.97
Light Navy
#155084
ΔE00 4.27
Denim
#1560BD
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21579F #9F6921
analogous
#21969F #21579F #2A219F
triadic
#21579F #9F2157 #579F21
tetradic
#21579F #9F2196 #9F6921 #219F2A
square
#21579F #9F2196 #9F6921 #219F2A
split-complementary
#21579F #9F2A21 #969F21
monochromatic
#0C203A #163B6C #21579F #2C73D2 #5D94DD
Accessibility & contrast
On white
7.17
#21579F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#21579F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21579F
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21579F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21579F | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#17529E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #21579f; /* rgb */ color: rgb(33, 87, 159); /* oklch */ color: oklch(46.1% 0.130 256.9);
Tailwind
colors: {
custom: {
50: '#7085bc',
500: '#21579f',
950: '#000000',
},
}SCSS
$custom: #21579f; $custom-light: #7085bc; $custom-dark: #000000;
JSON
{
"hex": "#21579f",
"rgb": {
"r": 33,
"g": 87,
"b": 159
},
"hsl": {
"h": 214.286,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46109,
"c": 0.12988,
"h": 256.9
},
"luminance": 0.09643
}Semantic roles & 50–950 ramp
primary
#21579F
secondary
#C2955A
accent
#A03FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81