#2C797D#2C797D

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

Color values

HEX#2C797D
RGBrgb(44, 121, 125)
HSLhsl(183, 48%, 33%)
HSVhsv(183, 65%, 49%)
CMYKcmyk(64.8%, 3.2%, 0%, 51%)
CIE-LABlab(46.56, -21.83, -9.16)
CIE-LCHlch(46.56, 23.68, 202.77°)
OKLaboklab(53.11% -0.0697 -0.0254)
OKLCHoklch(53.11% 0.074 200)
XYZxyz(11.5762, 15.6896, 21.8164)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C797D #7D302C
analogous
#2C7D58 #2C797D #2C507D
triadic
#2C797D #7D2C79 #797D2C
tetradic
#2C797D #582C7D #7D302C #507D2C
square
#2C797D #582C7D #7D302C #507D2C
split-complementary
#2C797D #7D2C50 #7D582C
monochromatic
#0C2122 #1C4D50 #2C797D #3CA5AA #5DC1C6

Accessibility & contrast

On white

5.07
#2C797D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2C797D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C797D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C797D#FFFFFF#000000##FFFFFF
##2C797D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747D
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c797d;
/* rgb */ color: rgb(44, 121, 125);
/* oklch */ color: oklch(53.1% 0.074 200.0);
Tailwind
colors: {
  custom: {
    50: '#70a0a2',
    500: '#2c797d',
    950: '#000000',
  },
}
SCSS
$custom: #2c797d;
$custom-light: #70a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c797d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 182.963,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.0742,
    "h": 200
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#2C797D
secondary
#AC5D59
accent
#5750D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2C797D

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

Preview Lab → · Contrast checker → · Palette generator →

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