#2C797E#2C797E

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

Color values

HEX#2C797E
RGBrgb(44, 121, 126)
HSLhsl(184, 48%, 33%)
HSVhsv(184, 65%, 49%)
CMYKcmyk(65.1%, 4%, 0%, 50.6%)
CIE-LABlab(46.60, -21.52, -9.70)
CIE-LCHlch(46.60, 23.61, 204.27°)
OKLaboklab(53.15% -0.0693 -0.0269)
OKLCHoklch(53.15% 0.074 201.2)
XYZxyz(11.6404, 15.7153, 22.1545)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C797E #7E312C
analogous
#2C7E5A #2C797E #2C507E
triadic
#2C797E #7E2C79 #797E2C
tetradic
#2C797E #5A2C7E #7E312C #507E2C
square
#2C797E #5A2C7E #7E312C #507E2C
split-complementary
#2C797E #7E2C50 #7E5A2C
monochromatic
#0C2223 #1C4D51 #2C797E #3CA5AB #5EC0C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C797E#FFFFFF#000000##FFFFFF
##2C797E1.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)
#70747E
Deuteranopia (green-blind)
#646A7E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c797e;
/* rgb */ color: rgb(44, 121, 126);
/* oklch */ color: oklch(53.1% 0.074 201.2);
Tailwind
colors: {
  custom: {
    50: '#70a0a3',
    500: '#2c797e',
    950: '#000000',
  },
}
SCSS
$custom: #2c797e;
$custom-light: #70a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c797e",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.659,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.07429,
    "h": 201.2
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#2C797E
secondary
#AD5E59
accent
#5850D8
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2C797E

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

Preview Lab → · Contrast checker → · Palette generator →

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