#2F797E#2F797E
#2F797E is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.072 H 201.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F797E |
|---|---|
| RGB | rgb(47, 121, 126) |
| HSL | hsl(184, 46%, 34%) |
| HSV | hsv(184, 63%, 49%) |
| CMYK | cmyk(62.7%, 4%, 0%, 50.6%) |
| CIE-LAB | lab(46.69, -20.97, -9.56) |
| CIE-LCH | lch(46.69, 23.04, 204.51°) |
| OKLab | oklab(53.25% -0.0675 -0.0265) |
| OKLCH | oklch(53.25% 0.072 201.4) |
| XYZ | xyz(11.7740, 15.7842, 22.1608) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.37
Bluegreen
#017A79
ΔE00 4.32
Deep Turquoise
#017374
ΔE00 4.37
Teal
#008080
ΔE00 4.59
Dark Aquamarine
#017371
ΔE00 5.27
Dark Cyan
#0A888A
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F797E #7E342F
analogous
#2F7E5C #2F797E #2F527E
triadic
#2F797E #7E2F79 #797E2F
tetradic
#2F797E #5C2F7E #7E342F #527E2F
square
#2F797E #5C2F7E #7E342F #527E2F
split-complementary
#2F797E #7E2F52 #7E5C2F
monochromatic
#0E2325 #1E4E51 #2F797E #40A4AB #63BEC5
Accessibility & contrast
On white
5.05
#2F797E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2F797E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F797E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F797E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F797E | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70747E
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f797e; /* rgb */ color: rgb(47, 121, 126); /* oklch */ color: oklch(53.2% 0.072 201.4);
Tailwind
colors: {
custom: {
50: '#71a0a3',
500: '#2f797e',
950: '#000000',
},
}SCSS
$custom: #2f797e; $custom-light: #71a0a3; $custom-dark: #000000;
JSON
{
"hex": "#2f797e",
"rgb": {
"r": 47,
"g": 121,
"b": 126
},
"hsl": {
"h": 183.797,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.53246,
"c": 0.07249,
"h": 201.4
},
"luminance": 0.15785
}Semantic roles & 50–950 ramp
primary
#2F797E
secondary
#AC625D
accent
#5B52D5
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F