#21797C#21797C
#21797C is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.080 H 198.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #21797C |
|---|---|
| RGB | rgb(33, 121, 124) |
| HSL | hsl(182, 58%, 31%) |
| HSV | hsv(182, 73%, 49%) |
| CMYK | cmyk(73.4%, 2.4%, 0%, 51.4%) |
| CIE-LAB | lab(46.25, -23.90, -9.07) |
| CIE-LCH | lch(46.25, 25.57, 200.79°) |
| OKLab | oklab(52.76% -0.0758 -0.0252) |
| OKLCH | oklch(52.76% 0.08 198.4) |
| XYZ | xyz(11.1010, 15.4520, 21.4623) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.80
Bluegreen
#017A79
ΔE00 2.56
Deep Turquoise
#017374
ΔE00 2.93
Teal
#008080
ΔE00 3.25
Dark Aquamarine
#017371
ΔE00 3.73
Dark Cyan
#0A888A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21797C #7C2421
analogous
#217C51 #21797C #214B7C
triadic
#21797C #7C2179 #797C21
tetradic
#21797C #51217C #7C2421 #4B7C21
square
#21797C #51217C #7C2421 #4B7C21
split-complementary
#21797C #7C214B #7C5121
monochromatic
#071B1B #144A4C #21797C #2EA8AC #49CACF
Accessibility & contrast
On white
5.13
#21797C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#21797C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21797C
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21797C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21797C | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#63697D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #21797c; /* rgb */ color: rgb(33, 121, 124); /* oklch */ color: oklch(52.8% 0.080 198.4);
Tailwind
colors: {
custom: {
50: '#6ca0a1',
500: '#21797c',
950: '#000000',
},
}SCSS
$custom: #21797c; $custom-light: #6ca0a1; $custom-dark: #000000;
JSON
{
"hex": "#21797c",
"rgb": {
"r": 33,
"g": 121,
"b": 124
},
"hsl": {
"h": 181.978,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.52759,
"c": 0.07984,
"h": 198.4
},
"luminance": 0.15453
}Semantic roles & 50–950 ramp
primary
#21797C
secondary
#AF4D4A
accent
#4C47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E