#28797F#28797F
#28797F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.077 H 202.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #28797F |
|---|---|
| RGB | rgb(40, 121, 127) |
| HSL | hsl(184, 52%, 33%) |
| HSV | hsv(184, 69%, 50%) |
| CMYK | cmyk(68.5%, 4.7%, 0%, 50.2%) |
| CIE-LAB | lab(46.52, -21.89, -10.43) |
| CIE-LCH | lch(46.52, 24.25, 205.47°) |
| OKLab | oklab(53.06% -0.071 -0.0289) |
| OKLCH | oklch(53.06% 0.077 202.2) |
| XYZ | xyz(11.5415, 15.6569, 22.4884) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.74
Deep Turquoise
#017374
ΔE00 4.14
Bluegreen
#017A79
ΔE00 4.18
Teal
#008080
ΔE00 4.45
Dark Aquamarine
#017371
ΔE00 5.15
Dark Cyan
#0A888A
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28797F #7F2E28
analogous
#287F59 #28797F #284D7F
triadic
#28797F #7F2879 #797F28
tetradic
#28797F #59287F #7F2E28 #4D7F28
square
#28797F #59287F #7F2E28 #4D7F28
split-complementary
#28797F #7F284D #7F5928
monochromatic
#0B2022 #194D50 #28797F #37A5AE #57C2CA
Accessibility & contrast
On white
5.08
#28797F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#28797F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28797F
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28797F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28797F | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #28797f; /* rgb */ color: rgb(40, 121, 127); /* oklch */ color: oklch(53.1% 0.077 202.2);
Tailwind
colors: {
custom: {
50: '#6fa0a4',
500: '#28797f',
950: '#000000',
},
}SCSS
$custom: #28797f; $custom-light: #6fa0a4; $custom-dark: #000000;
JSON
{
"hex": "#28797f",
"rgb": {
"r": 40,
"g": 121,
"b": 127
},
"hsl": {
"h": 184.138,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.53063,
"c": 0.07665,
"h": 202.2
},
"luminance": 0.15658
}Semantic roles & 50–950 ramp
primary
#28797F
secondary
#AF5A54
accent
#564CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F