#2C7872#2C7872

#2C7872 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.074 H 187.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2C7872
RGBrgb(44, 120, 114)
HSLhsl(175, 46%, 32%)
HSVhsv(175, 63%, 47%)
CMYKcmyk(63.3%, 0%, 5%, 52.9%)
CIE-LABlab(45.88, -24.63, -3.63)
CIE-LCHlch(45.88, 24.89, 188.39°)
OKLaboklab(52.44% -0.0738 -0.0102)
OKLCHoklch(52.44% 0.074 187.9)
XYZxyz(10.7911, 15.1822, 18.2781)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7872 #782C32
analogous
#2C784C #2C7872 #2C5878
triadic
#2C7872 #722C78 #78722C
tetradic
#2C7872 #4C2C78 #782C32 #58782C
square
#2C7872 #4C2C78 #782C32 #58782C
split-complementary
#2C7872 #782C58 #784C2C
monochromatic
#0B1E1D #1C4B47 #2C7872 #3CA59D #5BC3BB

Accessibility & contrast

On white

5.20
#2C7872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2C7872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7872
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7872#FFFFFF#000000##FFFFFF
##2C78721.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727272
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7872;
/* rgb */ color: rgb(44, 120, 114);
/* oklch */ color: oklch(52.4% 0.074 187.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f9a',
    500: '#2c7872',
    950: '#000000',
  },
}
SCSS
$custom: #2c7872;
$custom-light: #6f9f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7872",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 175.263,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.07446,
    "h": 187.9
  },
  "luminance": 0.15183
}

Semantic roles & 50–950 ramp

primary
#2C7872
secondary
#A9575D
accent
#525CD6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2C7872

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

Preview Lab → · Contrast checker → · Palette generator →

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