#21837B#21837B
#21837B is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.4% C 0.088 H 186.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #21837B |
|---|---|
| RGB | rgb(33, 131, 123) |
| HSL | hsl(175, 60%, 32%) |
| HSV | hsv(175, 75%, 51%) |
| CMYK | cmyk(74.8%, 0%, 6.1%, 48.6%) |
| CIE-LAB | lab(49.48, -29.21, -3.67) |
| CIE-LCH | lch(49.48, 29.44, 187.17°) |
| OKLab | oklab(55.37% -0.087 -0.0104) |
| OKLCH | oklch(55.37% 0.088 186.8) |
| XYZ | xyz(12.3170, 17.9845, 21.5573) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.42
Teal
#008080
ΔE00 3.53
Bluegreen
#017A79
ΔE00 4.42
Darkcyan
#008B8B
ΔE00 4.46
Dark Cyan
#0A888A
ΔE00 4.55
Teal (survey)
#029386
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21837B #832129
analogous
#21834A #21837B #215A83
triadic
#21837B #7B2183 #837B21
tetradic
#21837B #4A2183 #832129 #5A8321
square
#21837B #4A2183 #832129 #5A8321
split-complementary
#21837B #83215A #834A21
monochromatic
#08211F #15524D #21837B #2DB4A9 #4CD2C7
Accessibility & contrast
On white
4.57
#21837B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#21837B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21837B
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21837B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21837B | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7C7B
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #21837b; /* rgb */ color: rgb(33, 131, 123); /* oklch */ color: oklch(55.4% 0.088 186.8);
Tailwind
colors: {
custom: {
50: '#6da7a1',
500: '#21837b',
950: '#000000',
},
}SCSS
$custom: #21837b; $custom-light: #6da7a1; $custom-dark: #000000;
JSON
{
"hex": "#21837b",
"rgb": {
"r": 33,
"g": 131,
"b": 123
},
"hsl": {
"h": 175.102,
"s": 59.756,
"l": 32.157
},
"oklch": {
"l": 0.55372,
"c": 0.08759,
"h": 186.8
},
"luminance": 0.17986
}Semantic roles & 50–950 ramp
primary
#21837B
secondary
#B54B53
accent
#4552E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E