#21787F#21787F
#21787F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.080 H 203.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #21787F |
|---|---|
| RGB | rgb(33, 120, 127) |
| HSL | hsl(184, 59%, 31%) |
| HSV | hsv(184, 74%, 50%) |
| CMYK | cmyk(74%, 5.5%, 0%, 50.2%) |
| CIE-LAB | lab(46.03, -22.42, -11.19) |
| CIE-LCH | lch(46.03, 25.06, 206.53°) |
| OKLab | oklab(52.61% -0.0733 -0.0311) |
| OKLCH | oklch(52.61% 0.08 203) |
| XYZ | xyz(11.1727, 15.2873, 22.4365) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.24
Deep Turquoise
#017374
ΔE00 3.93
Bluegreen
#017A79
ΔE00 4.26
Teal
#008080
ΔE00 4.69
Dark Aquamarine
#017371
ΔE00 5.05
Dark Aqua
#05696B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21787F #7F2821
analogous
#217F57 #21787F #21497F
triadic
#21787F #7F2178 #787F21
tetradic
#21787F #57217F #7F2821 #497F21
square
#21787F #57217F #7F2821 #497F21
split-complementary
#21787F #7F2149 #7F5721
monochromatic
#081C1E #144A4E #21787F #2EA6B0 #4AC6D0
Accessibility & contrast
On white
5.18
#21787F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#21787F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21787F
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21787F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21787F | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #21787f; /* rgb */ color: rgb(33, 120, 127); /* oklch */ color: oklch(52.6% 0.080 203.0);
Tailwind
colors: {
custom: {
50: '#6c9fa4',
500: '#21787f',
950: '#000000',
},
}SCSS
$custom: #21787f; $custom-light: #6c9fa4; $custom-dark: #000000;
JSON
{
"hex": "#21787f",
"rgb": {
"r": 33,
"g": 120,
"b": 127
},
"hsl": {
"h": 184.468,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52613,
"c": 0.0796,
"h": 203
},
"luminance": 0.15289
}Semantic roles & 50–950 ramp
primary
#21787F
secondary
#B2524A
accent
#5146E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F