#2F787F#2F787F
#2F787F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.072 H 204.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F787F |
|---|---|
| RGB | rgb(47, 120, 127) |
| HSL | hsl(185, 46%, 34%) |
| HSV | hsv(185, 63%, 50%) |
| CMYK | cmyk(63%, 5.5%, 0%, 50.2%) |
| CIE-LAB | lab(46.40, -20.13, -10.58) |
| CIE-LCH | lch(46.40, 22.74, 207.74°) |
| OKLab | oklab(53.03% -0.0659 -0.0293) |
| OKLCH | oklch(53.03% 0.072 204) |
| XYZ | xyz(11.7179, 15.5684, 22.4620) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.56
Deep Turquoise
#017374
ΔE00 4.87
Bluegreen
#017A79
ΔE00 5.17
Teal
#008080
ΔE00 5.46
Dark Aquamarine
#017371
ΔE00 5.90
Ocean
#017B92
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F787F #7F362F
analogous
#2F7F5E #2F787F #2F507F
triadic
#2F787F #7F2F78 #787F2F
tetradic
#2F787F #5E2F7F #7F362F #507F2F
square
#2F787F #5E2F7F #7F362F #507F2F
split-complementary
#2F787F #7F2F50 #7F5E2F
monochromatic
#0E2426 #1E4E52 #2F787F #40A2AC #63BDC5
Accessibility & contrast
On white
5.10
#2F787F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2F787F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F787F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F787F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F787F | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F7380
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f787f; /* rgb */ color: rgb(47, 120, 127); /* oklch */ color: oklch(53.0% 0.072 204.0);
Tailwind
colors: {
custom: {
50: '#719fa4',
500: '#2f787f',
950: '#000000',
},
}SCSS
$custom: #2f787f; $custom-light: #719fa4; $custom-dark: #000000;
JSON
{
"hex": "#2f787f",
"rgb": {
"r": 47,
"g": 120,
"b": 127
},
"hsl": {
"h": 185.25,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53026,
"c": 0.07211,
"h": 204
},
"luminance": 0.1557
}Semantic roles & 50–950 ramp
primary
#2F787F
secondary
#AC645E
accent
#5E52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F