#2C797B#2C797B

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

Color values

HEX#2C797B
RGBrgb(44, 121, 123)
HSLhsl(182, 47%, 33%)
HSVhsv(182, 64%, 48%)
CMYKcmyk(64.2%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.50, -22.45, -8.07)
CIE-LCHlch(46.50, 23.86, 199.78°)
OKLaboklab(53.03% -0.0706 -0.0224)
OKLCHoklch(53.03% 0.074 197.6)
XYZxyz(11.4497, 15.6391, 21.1503)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C797B #7B2E2C
analogous
#2C7B55 #2C797B #2C517B
triadic
#2C797B #7B2C79 #797B2C
tetradic
#2C797B #552C7B #7B2E2C #517B2C
square
#2C797B #552C7B #7B2E2C #517B2C
split-complementary
#2C797B #7B2C51 #7B552C
monochromatic
#0C2021 #1C4D4E #2C797B #3CA5A8 #5DC2C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C797B#FFFFFF#000000##FFFFFF
##2C797B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737B
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c797b;
/* rgb */ color: rgb(44, 121, 123);
/* oklch */ color: oklch(53.0% 0.074 197.6);
Tailwind
colors: {
  custom: {
    50: '#70a0a1',
    500: '#2c797b',
    950: '#000000',
  },
}
SCSS
$custom: #2c797b;
$custom-light: #70a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c797b",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.519,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.0741,
    "h": 197.6
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#2C797B
secondary
#AB5A58
accent
#5451D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2C797B

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

Preview Lab → · Contrast checker → · Palette generator →

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