#21837E#21837E
#21837E is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.5% C 0.087 H 189.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #21837E |
|---|---|
| RGB | rgb(33, 131, 126) |
| HSL | hsl(177, 60%, 32%) |
| HSV | hsv(177, 75%, 51%) |
| CMYK | cmyk(74.8%, 0%, 3.8%, 48.6%) |
| CIE-LAB | lab(49.57, -28.31, -5.30) |
| CIE-LCH | lch(49.57, 28.80, 190.60°) |
| OKLab | oklab(55.48% -0.0855 -0.0148) |
| OKLCH | oklch(55.48% 0.087 189.8) |
| XYZ | xyz(12.5076, 18.0608, 22.5615) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 2.49
Greenish Blue
#0B8B87
ΔE00 2.99
Dark Cyan
#0A888A
ΔE00 3.44
Darkcyan
#008B8B
ΔE00 3.61
Bluegreen
#017A79
ΔE00 3.83
Dark Aquamarine
#017371
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21837E #832126
analogous
#21834D #21837E #215783
triadic
#21837E #7E2183 #837E21
tetradic
#21837E #4D2183 #832126 #578321
square
#21837E #4D2183 #832126 #578321
split-complementary
#21837E #832157 #834D21
monochromatic
#082120 #15524F #21837E #2DB4AD #4CD2CB
Accessibility & contrast
On white
4.55
#21837E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#21837E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21837E
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21837E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21837E | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7C7E
Deuteranopia (green-blind)
#6D727F
Tritanopia (blue-blind)
#008781
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #21837e; /* rgb */ color: rgb(33, 131, 126); /* oklch */ color: oklch(55.5% 0.087 189.8);
Tailwind
colors: {
custom: {
50: '#6da7a3',
500: '#21837e',
950: '#000000',
},
}SCSS
$custom: #21837e; $custom-light: #6da7a3; $custom-dark: #000000;
JSON
{
"hex": "#21837e",
"rgb": {
"r": 33,
"g": 131,
"b": 126
},
"hsl": {
"h": 176.939,
"s": 59.756,
"l": 32.157
},
"oklch": {
"l": 0.55478,
"c": 0.08681,
"h": 189.8
},
"luminance": 0.18062
}Semantic roles & 50–950 ramp
primary
#21837E
secondary
#B54B50
accent
#454DE3
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F