#2F797F#2F797F
#2F797F is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.073 H 202.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F797F |
|---|---|
| RGB | rgb(47, 121, 127) |
| HSL | hsl(185, 46%, 34%) |
| HSV | hsv(185, 63%, 50%) |
| CMYK | cmyk(63%, 4.7%, 0%, 50.2%) |
| CIE-LAB | lab(46.72, -20.66, -10.10) |
| CIE-LCH | lch(46.72, 23.00, 206.05°) |
| OKLab | oklab(53.29% -0.067 -0.028) |
| OKLCH | oklch(53.29% 0.073 202.6) |
| XYZ | xyz(11.8388, 15.8102, 22.5023) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.42
Deep Turquoise
#017374
ΔE00 4.67
Bluegreen
#017A79
ΔE00 4.71
Teal
#008080
ΔE00 4.91
Dark Aquamarine
#017371
ΔE00 5.63
Dark Cyan
#0A888A
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F797F #7F352F
analogous
#2F7F5D #2F797F #2F517F
triadic
#2F797F #7F2F79 #797F2F
tetradic
#2F797F #5D2F7F #7F352F #517F2F
square
#2F797F #5D2F7F #7F352F #517F2F
split-complementary
#2F797F #7F2F51 #7F5D2F
monochromatic
#0E2426 #1E4E52 #2F797F #40A4AC #63BEC5
Accessibility & contrast
On white
5.05
#2F797F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2F797F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F797F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F797F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F797F | 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)
#70747F
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f797f; /* rgb */ color: rgb(47, 121, 127); /* oklch */ color: oklch(53.3% 0.073 202.6);
Tailwind
colors: {
custom: {
50: '#71a0a4',
500: '#2f797f',
950: '#000000',
},
}SCSS
$custom: #2f797f; $custom-light: #71a0a4; $custom-dark: #000000;
JSON
{
"hex": "#2f797f",
"rgb": {
"r": 47,
"g": 121,
"b": 127
},
"hsl": {
"h": 184.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53285,
"c": 0.07264,
"h": 202.6
},
"luminance": 0.15811
}Semantic roles & 50–950 ramp
primary
#2F797F
secondary
#AC635E
accent
#5C52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F