#21717F#21717F
#21717F is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.8% C 0.077 H 211.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #21717F |
|---|---|
| RGB | rgb(33, 113, 127) |
| HSL | hsl(189, 59%, 31%) |
| HSV | hsv(189, 74%, 50%) |
| CMYK | cmyk(74%, 11%, 0%, 50.2%) |
| CIE-LAB | lab(43.75, -18.68, -14.64) |
| CIE-LCH | lch(43.75, 23.73, 218.08°) |
| OKLab | oklab(50.78% -0.0657 -0.0407) |
| OKLCH | oklch(50.78% 0.077 211.8) |
| XYZ | xyz(10.3615, 13.6647, 22.1660) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 4.62
Deep Aqua
#08787F
ΔE00 4.73
Petrol
#005F6A
ΔE00 6.57
Deep Turquoise
#017374
ΔE00 6.71
Dark Aqua
#05696B
ΔE00 6.76
Sea Blue
#047495
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21717F #7F2F21
analogous
#217F5E #21717F #21427F
triadic
#21717F #7F2171 #717F21
tetradic
#21717F #5E217F #7F2F21 #427F21
square
#21717F #5E217F #7F2F21 #427F21
split-complementary
#21717F #7F2142 #7F5E21
monochromatic
#081B1E #14464E #21717F #2E9CB0 #4ABCD0
Accessibility & contrast
On white
5.63
#21717F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#21717F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21717F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21717F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21717F | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#59637F
Tritanopia (blue-blind)
#007775
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #21717f; /* rgb */ color: rgb(33, 113, 127); /* oklch */ color: oklch(50.8% 0.077 211.8);
Tailwind
colors: {
custom: {
50: '#6b9aa4',
500: '#21717f',
950: '#000000',
},
}SCSS
$custom: #21717f; $custom-light: #6b9aa4; $custom-dark: #000000;
JSON
{
"hex": "#21717f",
"rgb": {
"r": 33,
"g": 113,
"b": 127
},
"hsl": {
"h": 188.936,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.50775,
"c": 0.07735,
"h": 211.8
},
"luminance": 0.13666
}Semantic roles & 50–950 ramp
primary
#21717F
secondary
#B25A4A
accent
#5D46E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F