#2F7472#2F7472

#2F7472 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.5% C 0.069 H 192.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F7472
RGBrgb(47, 116, 114)
HSLhsl(178, 42%, 32%)
HSVhsv(178, 59%, 45%)
CMYKcmyk(59.5%, 0%, 1.7%, 54.5%)
CIE-LABlab(44.67, -21.96, -5.42)
CIE-LCHlch(44.67, 22.62, 193.85°)
OKLaboklab(51.48% -0.0673 -0.015)
OKLCHoklch(51.48% 0.069 192.6)
XYZxyz(10.4536, 14.3090, 18.1273)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7472 #742F31
analogous
#2F7450 #2F7472 #2F5474
triadic
#2F7472 #722F74 #74722F
tetradic
#2F7472 #502F74 #742F31 #54742F
square
#2F7472 #502F74 #742F31 #54742F
split-complementary
#2F7472 #742F54 #74502F
monochromatic
#0C1D1C #1D4847 #2F7472 #41A09D #5FBEBB

Accessibility & contrast

On white

5.44
#2F7472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2F7472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7472
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7472#FFFFFF#000000##FFFFFF
##2F74721.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E72
Deuteranopia (green-blind)
#626673
Tritanopia (blue-blind)
#007773
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7472;
/* rgb */ color: rgb(47, 116, 114);
/* oklch */ color: oklch(51.5% 0.069 192.6);
Tailwind
colors: {
  custom: {
    50: '#709c9a',
    500: '#2f7472',
    950: '#000000',
  },
}
SCSS
$custom: #2f7472;
$custom-light: #709c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7472",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 114
  },
  "hsl": {
    "h": 178.261,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.06892,
    "h": 192.6
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#2F7472
secondary
#A55A5C
accent
#5659D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7472

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

Preview Lab → · Contrast checker → · Palette generator →

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