#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
RGBrgb(47, 126, 123)
HSLhsl(178, 46%, 34%)
HSVhsv(178, 63%, 49%)
CMYKcmyk(62.7%, 0%, 2.4%, 50.6%)
CIE-LABlab(48.20, -24.47, -5.52)
CIE-LCHlch(48.20, 25.09, 192.72°)
OKLaboklab(54.44% -0.0746 -0.0154)
OKLCHoklch(54.44% 0.076 191.6)
XYZxyz(12.2067, 16.9548, 21.3644)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

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
##2F7E7B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.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

Preview Lab

Preview with #2F7E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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