#2C797A#2C797A

#2C797A is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.074 H 196.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2C797A
RGBrgb(44, 121, 122)
HSLhsl(181, 47%, 33%)
HSVhsv(181, 64%, 48%)
CMYKcmyk(63.9%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.46, -22.75, -7.53)
CIE-LCHlch(46.46, 23.97, 198.31°)
OKLaboklab(52.99% -0.0711 -0.0209)
OKLCHoklch(52.99% 0.074 196.4)
XYZxyz(11.3874, 15.6141, 20.8223)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C797A #7A2D2C
analogous
#2C7A54 #2C797A #2C527A
triadic
#2C797A #7A2C79 #797A2C
tetradic
#2C797A #542C7A #7A2D2C #527A2C
square
#2C797A #542C7A #7A2D2C #527A2C
split-complementary
#2C797A #7A2C52 #7A542C
monochromatic
#0C2020 #1C4C4D #2C797A #3CA6A7 #5CC3C4

Accessibility & contrast

On white

5.09
#2C797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2C797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C797A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C797A#FFFFFF#000000##FFFFFF
##2C797A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.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: #2c797a;
/* rgb */ color: rgb(44, 121, 122);
/* oklch */ color: oklch(53.0% 0.074 196.4);
Tailwind
colors: {
  custom: {
    50: '#70a0a0',
    500: '#2c797a',
    950: '#000000',
  },
}
SCSS
$custom: #2c797a;
$custom-light: #70a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c797a",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.769,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.07411,
    "h": 196.4
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#2C797A
secondary
#AA5857
accent
#5351D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2C797A

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

Preview Lab → · Contrast checker → · Palette generator →

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