#21797B#21797B
#21797B is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.080 H 197.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #21797B |
|---|---|
| RGB | rgb(33, 121, 123) |
| HSL | hsl(181, 58%, 31%) |
| HSV | hsv(181, 73%, 48%) |
| CMYK | cmyk(73.2%, 1.6%, 0%, 51.8%) |
| CIE-LAB | lab(46.21, -24.22, -8.53) |
| CIE-LCH | lch(46.21, 25.68, 199.40°) |
| OKLab | oklab(52.72% -0.0762 -0.0237) |
| OKLCH | oklch(52.72% 0.08 197.3) |
| XYZ | xyz(11.0381, 15.4268, 21.1310) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.16
Bluegreen
#017A79
ΔE00 2.19
Deep Turquoise
#017374
ΔE00 2.75
Teal
#008080
ΔE00 3.04
Dark Aquamarine
#017371
ΔE00 3.42
Dark Cyan
#0A888A
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21797B #7B2321
analogous
#217B50 #21797B #214C7B
triadic
#21797B #7B2179 #797B21
tetradic
#21797B #50217B #7B2321 #4C7B21
square
#21797B #50217B #7B2321 #4C7B21
split-complementary
#21797B #7B214C #7B5021
monochromatic
#071A1A #144A4B #21797B #2EA8AB #48CBCE
Accessibility & contrast
On white
5.14
#21797B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#21797B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21797B
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21797B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21797B | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70737B
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #21797b; /* rgb */ color: rgb(33, 121, 123); /* oklch */ color: oklch(52.7% 0.080 197.3);
Tailwind
colors: {
custom: {
50: '#6ca0a1',
500: '#21797b',
950: '#000000',
},
}SCSS
$custom: #21797b; $custom-light: #6ca0a1; $custom-dark: #000000;
JSON
{
"hex": "#21797b",
"rgb": {
"r": 33,
"g": 121,
"b": 123
},
"hsl": {
"h": 181.333,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.5272,
"c": 0.07982,
"h": 197.3
},
"luminance": 0.15428
}Semantic roles & 50–950 ramp
primary
#21797B
secondary
#AE4C4A
accent
#4A47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E