#2E797D#2E797D

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

Color values

HEX#2E797D
RGBrgb(46, 121, 125)
HSLhsl(183, 46%, 34%)
HSVhsv(183, 63%, 49%)
CMYKcmyk(63.2%, 3.2%, 0%, 51%)
CIE-LABlab(46.62, -21.46, -9.07)
CIE-LCHlch(46.62, 23.30, 202.90°)
OKLaboklab(53.17% -0.0685 -0.0251)
OKLCHoklch(53.17% 0.073 200.1)
XYZxyz(11.6642, 15.7350, 21.8205)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E797D #7D322E
analogous
#2E7D59 #2E797D #2E517D
triadic
#2E797D #7D2E79 #797D2E
tetradic
#2E797D #592E7D #7D322E #517D2E
square
#2E797D #592E7D #7D322E #517D2E
split-complementary
#2E797D #7D2E51 #7D592E
monochromatic
#0D2224 #1E4E50 #2E797D #3EA4AA #61C0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E797D#FFFFFF#000000##FFFFFF
##2E797D1.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)
#6E6E6E

Design tokens & code

CSS
--color: #2e797d;
/* rgb */ color: rgb(46, 121, 125);
/* oklch */ color: oklch(53.2% 0.073 200.1);
Tailwind
colors: {
  custom: {
    50: '#71a0a2',
    500: '#2e797d',
    950: '#000000',
  },
}
SCSS
$custom: #2e797d;
$custom-light: #71a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e797d",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 183.038,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.073,
    "h": 200.1
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#2E797D
secondary
#AB5F5B
accent
#5952D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2E797D

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

Preview Lab → · Contrast checker → · Palette generator →

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