#2C797C#2C797C

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

Color values

HEX#2C797C
RGBrgb(44, 121, 124)
HSLhsl(182, 48%, 33%)
HSVhsv(182, 65%, 49%)
CMYKcmyk(64.5%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.53, -22.14, -8.62)
CIE-LCHlch(46.53, 23.76, 201.27°)
OKLaboklab(53.07% -0.0702 -0.0239)
OKLCHoklch(53.07% 0.074 198.8)
XYZxyz(11.5126, 15.6642, 21.4816)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C797C #7C2F2C
analogous
#2C7C57 #2C797C #2C517C
triadic
#2C797C #7C2C79 #797C2C
tetradic
#2C797C #572C7C #7C2F2C #517C2C
square
#2C797C #572C7C #7C2F2C #517C2C
split-complementary
#2C797C #7C2C51 #7C572C
monochromatic
#0C2122 #1C4D4F #2C797C #3CA5A9 #5DC2C5

Accessibility & contrast

On white

5.08
#2C797C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C797C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C797C#FFFFFF#000000##FFFFFF
##2C797C1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747C
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c797c;
/* rgb */ color: rgb(44, 121, 124);
/* oklch */ color: oklch(53.1% 0.074 198.8);
Tailwind
colors: {
  custom: {
    50: '#70a0a1',
    500: '#2c797c',
    950: '#000000',
  },
}
SCSS
$custom: #2c797c;
$custom-light: #70a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c797c",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 182.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.07413,
    "h": 198.8
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#2C797C
secondary
#AC5B58
accent
#5651D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2C797C

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

Preview Lab → · Contrast checker → · Palette generator →

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