#2C7A79#2C7A79

#2C7A79 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.075 H 193.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2C7A79
RGBrgb(44, 122, 121)
HSLhsl(179, 47%, 33%)
HSVhsv(179, 64%, 48%)
CMYKcmyk(63.9%, 0%, 0.8%, 52.2%)
CIE-LABlab(46.76, -23.57, -6.50)
CIE-LCHlch(46.76, 24.45, 195.42°)
OKLaboklab(53.22% -0.0727 -0.018)
OKLCHoklch(53.22% 0.075 193.9)
XYZxyz(11.4479, 15.8338, 20.5384)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A79 #7A2C2D
analogous
#2C7A52 #2C7A79 #2C547A
triadic
#2C7A79 #792C7A #7A792C
tetradic
#2C7A79 #522C7A #7A2C2D #547A2C
square
#2C7A79 #522C7A #7A2C2D #547A2C
split-complementary
#2C7A79 #7A2C54 #7A522C
monochromatic
#0C2020 #1C4D4C #2C7A79 #3CA7A6 #5CC4C3

Accessibility & contrast

On white

5.04
#2C7A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2C7A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A79
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A79#FFFFFF#000000##FFFFFF
##2C7A791.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727479
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#007E79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7a79;
/* rgb */ color: rgb(44, 122, 121);
/* oklch */ color: oklch(53.2% 0.075 193.9);
Tailwind
colors: {
  custom: {
    50: '#70a19f',
    500: '#2c7a79',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a79;
$custom-light: #70a19f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a79",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 121
  },
  "hsl": {
    "h": 179.231,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.07492,
    "h": 193.9
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#2C7A79
secondary
#AA5758
accent
#5153D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2C7A79

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

Preview Lab → · Contrast checker → · Palette generator →

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