#2F717D#2F717D

#2F717D is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.1% C 0.069 H 211.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2F717D
RGBrgb(47, 113, 125)
HSLhsl(189, 45%, 34%)
HSVhsv(189, 62%, 49%)
CMYKcmyk(62.4%, 9.6%, 0%, 51%)
CIE-LABlab(44.08, -16.96, -12.90)
CIE-LCHlch(44.08, 21.31, 217.25°)
OKLaboklab(51.13% -0.0587 -0.0358)
OKLCHoklch(51.13% 0.069 211.3)
XYZxyz(10.7776, 13.8942, 21.5119)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F717D #7D3B2F
analogous
#2F7D62 #2F717D #2F4A7D
triadic
#2F717D #7D2F71 #717D2F
tetradic
#2F717D #622F7D #7D3B2F #4A7D2F
square
#2F717D #622F7D #7D3B2F #4A7D2F
split-complementary
#2F717D #7D2F4A #7D622F
monochromatic
#0E2124 #1E4951 #2F717D #4099A9 #62B5C4

Accessibility & contrast

On white

5.56
#2F717D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2F717D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F717D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F717D#FFFFFF#000000##FFFFFF
##2F717D1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676D7E
Deuteranopia (green-blind)
#5B647D
Tritanopia (blue-blind)
#007675
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f717d;
/* rgb */ color: rgb(47, 113, 125);
/* oklch */ color: oklch(51.1% 0.069 211.3);
Tailwind
colors: {
  custom: {
    50: '#709aa2',
    500: '#2f717d',
    950: '#000000',
  },
}
SCSS
$custom: #2f717d;
$custom-light: #709aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f717d",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 125
  },
  "hsl": {
    "h": 189.231,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.06873,
    "h": 211.3
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#2F717D
secondary
#AB695D
accent
#6753D5
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F717D

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

Preview Lab → · Contrast checker → · Palette generator →

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