#2F7E7C#2F7E7C

#2F7E7C is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.076 H 192.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F7E7C
RGBrgb(47, 126, 124)
HSLhsl(178, 46%, 34%)
HSVhsv(178, 63%, 49%)
CMYKcmyk(62.7%, 0%, 1.6%, 50.6%)
CIE-LABlab(48.23, -24.18, -6.07)
CIE-LCHlch(48.23, 24.93, 194.08°)
OKLaboklab(54.47% -0.0741 -0.0169)
OKLCHoklch(54.47% 0.076 192.8)
XYZxyz(12.2696, 16.9800, 21.6957)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E7C #7E2F31
analogous
#2F7E55 #2F7E7C #2F597E
triadic
#2F7E7C #7C2F7E #7E7C2F
tetradic
#2F7E7C #552F7E #7E2F31 #597E2F
square
#2F7E7C #552F7E #7E2F31 #597E2F
split-complementary
#2F7E7C #7E2F59 #7E552F
monochromatic
#0E2524 #1E5150 #2F7E7C #40ABA8 #63C5C2

Accessibility & contrast

On white

4.78
#2F7E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F7E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E7C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E7C#FFFFFF#000000##FFFFFF
##2F7E7C1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787C
Deuteranopia (green-blind)
#6A6F7D
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7e7c;
/* rgb */ color: rgb(47, 126, 124);
/* oklch */ color: oklch(54.5% 0.076 192.8);
Tailwind
colors: {
  custom: {
    50: '#72a3a1',
    500: '#2f7e7c',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e7c;
$custom-light: #72a3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e7c",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 124
  },
  "hsl": {
    "h": 178.481,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.07602,
    "h": 192.8
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#2F7E7C
secondary
#AC5D5F
accent
#5256D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #2F7E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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