#21797F#21797F
#21797F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.080 H 201.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #21797F |
|---|---|
| RGB | rgb(33, 121, 127) |
| HSL | hsl(184, 59%, 31%) |
| HSV | hsv(184, 74%, 50%) |
| CMYK | cmyk(74%, 4.7%, 0%, 50.2%) |
| CIE-LAB | lab(46.35, -22.94, -10.70) |
| CIE-LCH | lch(46.35, 25.31, 205.01°) |
| OKLab | oklab(52.88% -0.0744 -0.0297) |
| OKLCH | oklch(52.88% 0.08 201.8) |
| XYZ | xyz(11.2936, 15.5290, 22.4768) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.20
Deep Turquoise
#017374
ΔE00 3.76
Bluegreen
#017A79
ΔE00 3.78
Teal
#008080
ΔE00 4.12
Dark Aquamarine
#017371
ΔE00 4.79
Dark Cyan
#0A888A
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21797F #7F2721
analogous
#217F56 #21797F #214A7F
triadic
#21797F #7F2179 #797F21
tetradic
#21797F #56217F #7F2721 #4A7F21
square
#21797F #56217F #7F2721 #4A7F21
split-complementary
#21797F #7F214A #7F5621
monochromatic
#081C1E #144B4E #21797F #2EA7B0 #4AC8D0
Accessibility & contrast
On white
5.11
#21797F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#21797F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21797F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21797F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21797F | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F747F
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #21797f; /* rgb */ color: rgb(33, 121, 127); /* oklch */ color: oklch(52.9% 0.080 201.8);
Tailwind
colors: {
custom: {
50: '#6ca0a4',
500: '#21797f',
950: '#000000',
},
}SCSS
$custom: #21797f; $custom-light: #6ca0a4; $custom-dark: #000000;
JSON
{
"hex": "#21797f",
"rgb": {
"r": 33,
"g": 121,
"b": 127
},
"hsl": {
"h": 183.83,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52877,
"c": 0.08008,
"h": 201.8
},
"luminance": 0.1553
}Semantic roles & 50–950 ramp
primary
#21797F
secondary
#B2514A
accent
#5046E2
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F