#2F7174#2F7174

#2F7174 is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.8% C 0.067 H 199.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7174
RGBrgb(47, 113, 116)
HSLhsl(183, 42%, 32%)
HSVhsv(183, 59%, 45%)
CMYKcmyk(59.5%, 2.6%, 0%, 54.5%)
CIE-LABlab(43.76, -19.77, -7.97)
CIE-LCHlch(43.76, 21.32, 201.96°)
OKLaboklab(50.77% -0.0628 -0.022)
OKLCHoklch(50.77% 0.067 199.4)
XYZxyz(10.2285, 13.6745, 18.6200)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7174 #74322F
analogous
#2F7455 #2F7174 #2F4F74
triadic
#2F7174 #742F71 #71742F
tetradic
#2F7174 #552F74 #74322F #4F742F
square
#2F7174 #552F74 #74322F #4F742F
split-complementary
#2F7174 #742F4F #74552F
monochromatic
#0C1C1D #1D4748 #2F7174 #419BA0 #5FBABE

Accessibility & contrast

On white

5.62
#2F7174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F7174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7174
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7174#FFFFFF#000000##FFFFFF
##2F71741.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696C74
Deuteranopia (green-blind)
#5E6474
Tritanopia (blue-blind)
#007572
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7174;
/* rgb */ color: rgb(47, 113, 116);
/* oklch */ color: oklch(50.8% 0.067 199.4);
Tailwind
colors: {
  custom: {
    50: '#709a9c',
    500: '#2f7174',
    950: '#000000',
  },
}
SCSS
$custom: #2f7174;
$custom-light: #709a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7174",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 116
  },
  "hsl": {
    "h": 182.609,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.06652,
    "h": 199.4
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#2F7174
secondary
#A55D5A
accent
#5B56D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7174

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

Preview Lab → · Contrast checker → · Palette generator →

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