#2F7E7B#2F7E7B
#2F7E7B is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.4% C 0.076 H 191.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E7B |
|---|---|
| RGB | rgb(47, 126, 123) |
| HSL | hsl(178, 46%, 34%) |
| HSV | hsv(178, 63%, 49%) |
| CMYK | cmyk(62.7%, 0%, 2.4%, 50.6%) |
| CIE-LAB | lab(48.20, -24.47, -5.52) |
| CIE-LCH | lch(48.20, 25.09, 192.72°) |
| OKLab | oklab(54.44% -0.0746 -0.0154) |
| OKLCH | oklch(54.44% 0.076 191.6) |
| XYZ | xyz(12.2067, 16.9548, 21.3644) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 2.58
Bluegreen
#017A79
ΔE00 2.94
Dark Cyan
#0A888A
ΔE00 4.43
Dark Aquamarine
#017371
ΔE00 4.80
Deep Turquoise
#017374
ΔE00 4.89
Deep Aqua
#08787F
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E7B #7E2F32
analogous
#2F7E54 #2F7E7B #2F5A7E
triadic
#2F7E7B #7B2F7E #7E7B2F
tetradic
#2F7E7B #542F7E #7E2F32 #5A7E2F
square
#2F7E7B #542F7E #7E2F32 #5A7E2F
split-complementary
#2F7E7B #7E2F5A #7E542F
monochromatic
#0E2524 #1E514F #2F7E7B #40ABA7 #63C5C1
Accessibility & contrast
On white
4.78
#2F7E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#2F7E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E7B
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E7B | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77787B
Deuteranopia (green-blind)
#6A6F7C
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2f7e7b; /* rgb */ color: rgb(47, 126, 123); /* oklch */ color: oklch(54.4% 0.076 191.6);
Tailwind
colors: {
custom: {
50: '#72a3a1',
500: '#2f7e7b',
950: '#000000',
},
}SCSS
$custom: #2f7e7b; $custom-light: #72a3a1; $custom-dark: #000000;
JSON
{
"hex": "#2f7e7b",
"rgb": {
"r": 47,
"g": 126,
"b": 123
},
"hsl": {
"h": 177.722,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.54436,
"c": 0.07618,
"h": 191.6
},
"luminance": 0.16956
}Semantic roles & 50–950 ramp
primary
#2F7E7B
secondary
#AC5D60
accent
#5257D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E