#2C7876#2C7876

#2C7876 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.074 H 192.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C7876
RGBrgb(44, 120, 118)
HSLhsl(178, 46%, 32%)
HSVhsv(178, 63%, 47%)
CMYKcmyk(63.3%, 0%, 1.7%, 52.9%)
CIE-LABlab(46.01, -23.44, -5.83)
CIE-LCHlch(46.01, 24.16, 193.96°)
OKLaboklab(52.58% -0.0718 -0.0162)
OKLCHoklch(52.58% 0.074 192.7)
XYZxyz(11.0238, 15.2753, 19.5035)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7876 #782C2E
analogous
#2C7850 #2C7876 #2C5478
triadic
#2C7876 #762C78 #78762C
tetradic
#2C7876 #502C78 #782C2E #54782C
square
#2C7876 #502C78 #782C2E #54782C
split-complementary
#2C7876 #782C54 #78502C
monochromatic
#0B1E1E #1C4B4A #2C7876 #3CA5A2 #5BC3C0

Accessibility & contrast

On white

5.18
#2C7876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2C7876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7876
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7876#FFFFFF#000000##FFFFFF
##2C78761.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717276
Deuteranopia (green-blind)
#656977
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7876;
/* rgb */ color: rgb(44, 120, 118);
/* oklch */ color: oklch(52.6% 0.074 192.7);
Tailwind
colors: {
  custom: {
    50: '#6f9f9d',
    500: '#2c7876',
    950: '#000000',
  },
}
SCSS
$custom: #2c7876;
$custom-light: #6f9f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7876",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 118
  },
  "hsl": {
    "h": 178.421,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.07365,
    "h": 192.7
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#2C7876
secondary
#A95759
accent
#5255D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2C7876

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

Preview Lab → · Contrast checker → · Palette generator →

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