#21879F#21879F
#21879F is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.8% C 0.095 H 217.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #21879F |
|---|---|
| RGB | rgb(33, 135, 159) |
| HSL | hsl(191, 66%, 38%) |
| HSV | hsv(191, 79%, 62%) |
| CMYK | cmyk(79.2%, 15.1%, 0%, 37.6%) |
| CIE-LAB | lab(52.01, -19.70, -20.87) |
| CIE-LCH | lch(52.01, 28.70, 226.65°) |
| OKLab | oklab(57.84% -0.075 -0.0583) |
| OKLCH | oklch(57.84% 0.095 217.9) |
| XYZ | xyz(15.5465, 20.1526, 35.8646) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 1.42
Dirty Blue
#3F829D
ΔE00 4.19
Ocean
#017B92
ΔE00 4.72
Sea Blue
#047495
ΔE00 7.89
Cerulean
#007BA7
ΔE00 8.06
Deep Aqua
#08787F
ΔE00 9.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21879F #9F3921
analogous
#219F78 #21879F #21489F
triadic
#21879F #9F2187 #879F21
tetradic
#21879F #78219F #9F3921 #489F21
square
#21879F #78219F #9F3921 #489F21
split-complementary
#21879F #9F2148 #9F7821
monochromatic
#0C313A #165C6C #21879F #2CB2D2 #5DC5DD
Accessibility & contrast
On white
4.17
#21879F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#21879F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21879F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21879F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21879F | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #21879f; /* rgb */ color: rgb(33, 135, 159); /* oklch */ color: oklch(57.8% 0.095 217.9);
Tailwind
colors: {
custom: {
50: '#72aabb',
500: '#21879f',
950: '#000000',
},
}SCSS
$custom: #21879f; $custom-light: #72aabb; $custom-dark: #000000;
JSON
{
"hex": "#21879f",
"rgb": {
"r": 33,
"g": 135,
"b": 159
},
"hsl": {
"h": 191.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.57836,
"c": 0.09498,
"h": 217.9
},
"luminance": 0.20154
}Semantic roles & 50–950 ramp
primary
#21879F
secondary
#C26E5A
accent
#5F3FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80