#2C797F#2C797F

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

Color values

HEX#2C797F
RGBrgb(44, 121, 127)
HSLhsl(184, 49%, 34%)
HSVhsv(184, 65%, 50%)
CMYKcmyk(65.4%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.63, -21.21, -10.25)
CIE-LCHlch(46.63, 23.55, 205.79°)
OKLaboklab(53.19% -0.0688 -0.0284)
OKLCHoklch(53.19% 0.074 202.4)
XYZxyz(11.7052, 15.7413, 22.4960)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C797F #7F322C
analogous
#2C7F5B #2C797F #2C4F7F
triadic
#2C797F #7F2C79 #797F2C
tetradic
#2C797F #5B2C7F #7F322C #4F7F2C
square
#2C797F #5B2C7F #7F322C #4F7F2C
split-complementary
#2C797F #7F2C4F #7F5B2C
monochromatic
#0D2224 #1C4E52 #2C797F #3CA4AC #5EC0C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C797F#FFFFFF#000000##FFFFFF
##2C797F1.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)
#70747F
Deuteranopia (green-blind)
#636B7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c797f;
/* rgb */ color: rgb(44, 121, 127);
/* oklch */ color: oklch(53.2% 0.074 202.4);
Tailwind
colors: {
  custom: {
    50: '#70a0a4',
    500: '#2c797f',
    950: '#000000',
  },
}
SCSS
$custom: #2c797f;
$custom-light: #70a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c797f",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 184.337,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.07443,
    "h": 202.4
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#2C797F
secondary
#AD5F59
accent
#5A50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2C797F

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

Preview Lab → · Contrast checker → · Palette generator →

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