#2F7D7B#2F7D7B

#2F7D7B is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.2% C 0.075 H 192.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F7D7B
RGBrgb(47, 125, 123)
HSLhsl(178, 45%, 34%)
HSVhsv(178, 62%, 49%)
CMYKcmyk(62.4%, 0%, 1.6%, 51%)
CIE-LABlab(47.88, -23.96, -6.00)
CIE-LCHlch(47.88, 24.70, 194.06°)
OKLaboklab(54.18% -0.0735 -0.0167)
OKLCHoklch(54.18% 0.075 192.8)
XYZxyz(12.0795, 16.7004, 21.3219)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D7B #7D2F31
analogous
#2F7D54 #2F7D7B #2F587D
triadic
#2F7D7B #7B2F7D #7D7B2F
tetradic
#2F7D7B #542F7D #7D2F31 #587D2F
square
#2F7D7B #542F7D #7D2F31 #587D2F
split-complementary
#2F7D7B #7D2F58 #7D542F
monochromatic
#0E2423 #1E514F #2F7D7B #40A9A7 #62C4C2

Accessibility & contrast

On white

4.84
#2F7D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F7D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D7B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D7B#FFFFFF#000000##FFFFFF
##2F7D7B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777B
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7d7b;
/* rgb */ color: rgb(47, 125, 123);
/* oklch */ color: oklch(54.2% 0.075 192.8);
Tailwind
colors: {
  custom: {
    50: '#72a3a1',
    500: '#2f7d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d7b;
$custom-light: #72a3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d7b",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 123
  },
  "hsl": {
    "h": 178.462,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.07533,
    "h": 192.8
  },
  "luminance": 0.16702
}

Semantic roles & 50–950 ramp

primary
#2F7D7B
secondary
#AB5D5F
accent
#5356D5
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F7D7B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F7D7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva