#2F797E#2F797E

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

Color values

HEX#2F797E
RGBrgb(47, 121, 126)
HSLhsl(184, 46%, 34%)
HSVhsv(184, 63%, 49%)
CMYKcmyk(62.7%, 4%, 0%, 50.6%)
CIE-LABlab(46.69, -20.97, -9.56)
CIE-LCHlch(46.69, 23.04, 204.51°)
OKLaboklab(53.25% -0.0675 -0.0265)
OKLCHoklch(53.25% 0.072 201.4)
XYZxyz(11.7740, 15.7842, 22.1608)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F797E #7E342F
analogous
#2F7E5C #2F797E #2F527E
triadic
#2F797E #7E2F79 #797E2F
tetradic
#2F797E #5C2F7E #7E342F #527E2F
square
#2F797E #5C2F7E #7E342F #527E2F
split-complementary
#2F797E #7E2F52 #7E5C2F
monochromatic
#0E2325 #1E4E51 #2F797E #40A4AB #63BEC5

Accessibility & contrast

On white

5.05
#2F797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F797E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F797E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F797E#FFFFFF#000000##FFFFFF
##2F797E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f797e;
/* rgb */ color: rgb(47, 121, 126);
/* oklch */ color: oklch(53.2% 0.072 201.4);
Tailwind
colors: {
  custom: {
    50: '#71a0a3',
    500: '#2f797e',
    950: '#000000',
  },
}
SCSS
$custom: #2f797e;
$custom-light: #71a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f797e",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.797,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.07249,
    "h": 201.4
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#2F797E
secondary
#AC625D
accent
#5B52D5
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F797E

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

Preview Lab → · Contrast checker → · Palette generator →

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