#2F797B#2F797B

#2F797B is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.072 H 197.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F797B
RGBrgb(47, 121, 123)
HSLhsl(182, 45%, 33%)
HSVhsv(182, 62%, 48%)
CMYKcmyk(61.8%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.59, -21.88, -7.93)
CIE-LCHlch(46.59, 23.28, 199.91°)
OKLaboklab(53.13% -0.0689 -0.022)
OKLCHoklch(53.13% 0.072 197.7)
XYZxyz(11.5833, 15.7079, 21.1565)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F797B #7B312F
analogous
#2F7B57 #2F797B #2F537B
triadic
#2F797B #7B2F79 #797B2F
tetradic
#2F797B #572F7B #7B312F #537B2F
square
#2F797B #572F7B #7B312F #537B2F
split-complementary
#2F797B #7B2F53 #7B572F
monochromatic
#0D2222 #1E4D4F #2F797B #40A5A7 #62C0C3

Accessibility & contrast

On white

5.07
#2F797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F797B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F797B#FFFFFF#000000##FFFFFF
##2F797B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747B
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f797b;
/* rgb */ color: rgb(47, 121, 123);
/* oklch */ color: oklch(53.1% 0.072 197.7);
Tailwind
colors: {
  custom: {
    50: '#71a0a1',
    500: '#2f797b',
    950: '#000000',
  },
}
SCSS
$custom: #2f797b;
$custom-light: #71a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f797b",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.579,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.07229,
    "h": 197.7
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#2F797B
secondary
#AA5E5C
accent
#5753D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F797B

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

Preview Lab → · Contrast checker → · Palette generator →

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