#2F797D#2F797D

#2F797D is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.072 H 200.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F797D
RGBrgb(47, 121, 125)
HSLhsl(183, 45%, 34%)
HSVhsv(183, 62%, 49%)
CMYKcmyk(62.4%, 3.2%, 0%, 51%)
CIE-LABlab(46.66, -21.27, -9.02)
CIE-LCHlch(46.66, 23.11, 202.96°)
OKLaboklab(53.21% -0.0679 -0.025)
OKLCHoklch(53.21% 0.072 200.2)
XYZxyz(11.7098, 15.7585, 21.8226)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F797D #7D332F
analogous
#2F7D5A #2F797D #2F527D
triadic
#2F797D #7D2F79 #797D2F
tetradic
#2F797D #5A2F7D #7D332F #527D2F
square
#2F797D #5A2F7D #7D332F #527D2F
split-complementary
#2F797D #7D2F52 #7D5A2F
monochromatic
#0E2324 #1E4E51 #2F797D #40A4A9 #62BFC4

Accessibility & contrast

On white

5.06
#2F797D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F797D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F797D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F797D#FFFFFF#000000##FFFFFF
##2F797D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747D
Deuteranopia (green-blind)
#646B7D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f797d;
/* rgb */ color: rgb(47, 121, 125);
/* oklch */ color: oklch(53.2% 0.072 200.2);
Tailwind
colors: {
  custom: {
    50: '#71a0a2',
    500: '#2f797d',
    950: '#000000',
  },
}
SCSS
$custom: #2f797d;
$custom-light: #71a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f797d",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 183.077,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.07239,
    "h": 200.2
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#2F797D
secondary
#AB615D
accent
#5953D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2F797D

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

Preview Lab → · Contrast checker → · Palette generator →

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