#21877E#21877E
#21877E is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.5% C 0.090 H 186.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #21877E |
|---|---|
| RGB | rgb(33, 135, 126) |
| HSL | hsl(175, 61%, 33%) |
| HSV | hsv(175, 76%, 53%) |
| CMYK | cmyk(75.6%, 0%, 6.7%, 47.1%) |
| CIE-LAB | lab(50.87, -30.25, -3.38) |
| CIE-LCH | lch(50.87, 30.44, 186.37°) |
| OKLab | oklab(56.54% -0.0898 -0.0096) |
| OKLCH | oklch(56.54% 0.09 186.1) |
| XYZ | xyz(13.0553, 19.1561, 22.7440) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 2.59
Darkcyan
#008B8B
ΔE00 4.00
Teal (survey)
#029386
ΔE00 4.42
Teal
#008080
ΔE00 4.49
Dark Cyan
#0A888A
ΔE00 4.52
Dusty Teal
#4C9085
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21877E #87212A
analogous
#21874B #21877E #215D87
triadic
#21877E #7E2187 #877E21
tetradic
#21877E #4B2187 #87212A #5D8721
square
#21877E #4B2187 #87212A #5D8721
split-complementary
#21877E #87215D #874B21
monochromatic
#092522 #155650 #21877E #2DB8AC #4FD4C8
Accessibility & contrast
On white
4.35
#21877E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#21877E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21877E
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21877E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21877E | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#71757F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #21877e; /* rgb */ color: rgb(33, 135, 126); /* oklch */ color: oklch(56.5% 0.090 186.1);
Tailwind
colors: {
custom: {
50: '#6eaaa3',
500: '#21877e',
950: '#000000',
},
}SCSS
$custom: #21877e; $custom-light: #6eaaa3; $custom-dark: #000000;
JSON
{
"hex": "#21877e",
"rgb": {
"r": 33,
"g": 135,
"b": 126
},
"hsl": {
"h": 174.706,
"s": 60.714,
"l": 32.941
},
"oklch": {
"l": 0.56535,
"c": 0.09028,
"h": 186.1
},
"luminance": 0.19158
}Semantic roles & 50–950 ramp
primary
#21877E
secondary
#B74D56
accent
#4452E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F