#2E797A#2E797A

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

Color values

HEX#2E797A
RGBrgb(46, 121, 122)
HSLhsl(181, 45%, 33%)
HSVhsv(181, 62%, 48%)
CMYKcmyk(62.3%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.52, -22.38, -7.43)
CIE-LCHlch(46.52, 23.58, 198.37°)
OKLaboklab(53.06% -0.0699 -0.0206)
OKLCHoklch(53.06% 0.073 196.4)
XYZxyz(11.4754, 15.6595, 20.8264)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E797A #7A2F2E
analogous
#2E7A55 #2E797A #2E537A
triadic
#2E797A #7A2E79 #797A2E
tetradic
#2E797A #552E7A #7A2F2E #537A2E
square
#2E797A #552E7A #7A2F2E #537A2E
split-complementary
#2E797A #7A2E53 #7A552E
monochromatic
#0C2121 #1D4D4E #2E797A #3FA5A6 #60C2C3

Accessibility & contrast

On white

5.08
#2E797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E797A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E797A#FFFFFF#000000##FFFFFF
##2E797A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737A
Deuteranopia (green-blind)
#656A7B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e797a;
/* rgb */ color: rgb(46, 121, 122);
/* oklch */ color: oklch(53.1% 0.073 196.4);
Tailwind
colors: {
  custom: {
    50: '#71a0a0',
    500: '#2e797a',
    950: '#000000',
  },
}
SCSS
$custom: #2e797a;
$custom-light: #71a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e797a",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.789,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.07291,
    "h": 196.4
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#2E797A
secondary
#AA5B5A
accent
#5553D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2E797A

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

Preview Lab → · Contrast checker → · Palette generator →

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