#21817E#21817E
#21817E is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.085 H 191.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21817E |
|---|---|
| RGB | rgb(33, 129, 126) |
| HSL | hsl(178, 59%, 32%) |
| HSV | hsv(178, 74%, 51%) |
| CMYK | cmyk(74.4%, 0%, 2.3%, 49.4%) |
| CIE-LAB | lab(48.92, -27.32, -6.26) |
| CIE-LCH | lch(48.92, 28.03, 192.91°) |
| OKLab | oklab(54.95% -0.0834 -0.0175) |
| OKLCH | oklch(54.95% 0.085 191.8) |
| XYZ | xyz(12.2416, 17.5287, 22.4728) |
| Luminance | 0.1753 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 1.64
Bluegreen
#017A79
ΔE00 2.97
Dark Cyan
#0A888A
ΔE00 3.30
Greenish Blue
#0B8B87
ΔE00 3.69
Darkcyan
#008B8B
ΔE00 3.89
Dark Aquamarine
#017371
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21817E #812124
analogous
#21814E #21817E #215481
triadic
#21817E #7E2181 #817E21
tetradic
#21817E #4E2181 #812124 #548121
square
#21817E #4E2181 #812124 #548121
split-complementary
#21817E #812154 #814E21
monochromatic
#08201F #15504E #21817E #2DB2AE #4BD1CD
Accessibility & contrast
On white
4.66
#21817E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#21817E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21817E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21817E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21817E | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21817e; /* rgb */ color: rgb(33, 129, 126); /* oklch */ color: oklch(54.9% 0.085 191.8);
Tailwind
colors: {
custom: {
50: '#6da6a3',
500: '#21817e',
950: '#000000',
},
}SCSS
$custom: #21817e; $custom-light: #6da6a3; $custom-dark: #000000;
JSON
{
"hex": "#21817e",
"rgb": {
"r": 33,
"g": 129,
"b": 126
},
"hsl": {
"h": 178.125,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.54949,
"c": 0.08521,
"h": 191.8
},
"luminance": 0.1753
}Semantic roles & 50–950 ramp
primary
#21817E
secondary
#B44A4E
accent
#454AE2
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F