#2E797C#2E797C

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

Color values

HEX#2E797C
RGBrgb(46, 121, 124)
HSLhsl(182, 46%, 33%)
HSVhsv(182, 63%, 49%)
CMYKcmyk(62.9%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.59, -21.77, -8.52)
CIE-LCHlch(46.59, 23.38, 201.38°)
OKLaboklab(53.14% -0.069 -0.0236)
OKLCHoklch(53.14% 0.073 198.9)
XYZxyz(11.6006, 15.7096, 21.4858)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E797C #7C312E
analogous
#2E7C58 #2E797C #2E527C
triadic
#2E797C #7C2E79 #797C2E
tetradic
#2E797C #582E7C #7C312E #527C2E
square
#2E797C #582E7C #7C312E #527C2E
split-complementary
#2E797C #7C2E52 #7C582E
monochromatic
#0D2223 #1D4D4F #2E797C #3FA5A9 #60C0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E797C#FFFFFF#000000##FFFFFF
##2E797C1.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)
#71747C
Deuteranopia (green-blind)
#646B7C
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e797c;
/* rgb */ color: rgb(46, 121, 124);
/* oklch */ color: oklch(53.1% 0.073 198.9);
Tailwind
colors: {
  custom: {
    50: '#71a0a1',
    500: '#2e797c',
    950: '#000000',
  },
}
SCSS
$custom: #2e797c;
$custom-light: #71a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e797c",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 182.308,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.07293,
    "h": 198.9
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#2E797C
secondary
#AB5E5B
accent
#5752D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2E797C

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

Preview Lab → · Contrast checker → · Palette generator →

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