#2E797E#2E797E

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

Color values

HEX#2E797E
RGBrgb(46, 121, 126)
HSLhsl(184, 47%, 34%)
HSVhsv(184, 63%, 49%)
CMYKcmyk(63.5%, 4%, 0%, 50.6%)
CIE-LABlab(46.66, -21.16, -9.61)
CIE-LCHlch(46.66, 23.24, 204.43°)
OKLaboklab(53.21% -0.0681 -0.0266)
OKLCHoklch(53.21% 0.073 201.3)
XYZxyz(11.7284, 15.7607, 22.1586)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E797E #7E332E
analogous
#2E7E5B #2E797E #2E517E
triadic
#2E797E #7E2E79 #797E2E
tetradic
#2E797E #5B2E7E #7E332E #517E2E
square
#2E797E #5B2E7E #7E332E #517E2E
split-complementary
#2E797E #7E2E51 #7E5B2E
monochromatic
#0D2324 #1E4E51 #2E797E #3EA4AB #61BFC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E797E#FFFFFF#000000##FFFFFF
##2E797E1.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)
#70747E
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e797e;
/* rgb */ color: rgb(46, 121, 126);
/* oklch */ color: oklch(53.2% 0.073 201.3);
Tailwind
colors: {
  custom: {
    50: '#71a0a3',
    500: '#2e797e',
    950: '#000000',
  },
}
SCSS
$custom: #2e797e;
$custom-light: #71a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e797e",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.0731,
    "h": 201.3
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#2E797E
secondary
#AC615C
accent
#5A52D6
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2E797E

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

Preview Lab → · Contrast checker → · Palette generator →

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