#21787C#21787C
#21787C is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.079 H 199.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #21787C |
|---|---|
| RGB | rgb(33, 120, 124) |
| HSL | hsl(183, 58%, 31%) |
| HSV | hsv(183, 73%, 49%) |
| CMYK | cmyk(73.4%, 3.2%, 0%, 51.4%) |
| CIE-LAB | lab(45.92, -23.38, -9.56) |
| CIE-LCH | lch(45.92, 25.26, 202.24°) |
| OKLab | oklab(52.49% -0.0747 -0.0265) |
| OKLCH | oklch(52.49% 0.079 199.6) |
| XYZ | xyz(10.9801, 15.2102, 21.4221) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.44
Deep Turquoise
#017374
ΔE00 2.94
Bluegreen
#017A79
ΔE00 3.02
Teal
#008080
ΔE00 3.77
Dark Aquamarine
#017371
ΔE00 3.89
Dark Aqua
#05696B
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21787C #7C2521
analogous
#217C52 #21787C #214A7C
triadic
#21787C #7C2178 #787C21
tetradic
#21787C #52217C #7C2521 #4A7C21
square
#21787C #52217C #7C2521 #4A7C21
split-complementary
#21787C #7C214A #7C5221
monochromatic
#071A1B #14494C #21787C #2EA7AC #49C9CF
Accessibility & contrast
On white
5.19
#21787C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#21787C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21787C
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21787C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21787C | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #21787c; /* rgb */ color: rgb(33, 120, 124); /* oklch */ color: oklch(52.5% 0.079 199.6);
Tailwind
colors: {
custom: {
50: '#6c9fa1',
500: '#21787c',
950: '#000000',
},
}SCSS
$custom: #21787c; $custom-light: #6c9fa1; $custom-dark: #000000;
JSON
{
"hex": "#21787c",
"rgb": {
"r": 33,
"g": 120,
"b": 124
},
"hsl": {
"h": 182.637,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.52494,
"c": 0.07926,
"h": 199.6
},
"luminance": 0.15212
}Semantic roles & 50–950 ramp
primary
#21787C
secondary
#AF4E4A
accent
#4D47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E