#2C878D#2C878D

#2C878D is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.4% C 0.084 H 201.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2C878D
RGBrgb(44, 135, 141)
HSLhsl(184, 52%, 36%)
HSVhsv(184, 69%, 55%)
CMYKcmyk(68.8%, 4.3%, 0%, 44.7%)
CIE-LABlab(51.59, -24.13, -11.02)
CIE-LCHlch(51.59, 26.53, 204.54°)
OKLaboklab(57.35% -0.0779 -0.0306)
OKLCHoklch(57.35% 0.084 201.4)
XYZxyz(14.5083, 19.7849, 28.2484)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C878D #8D322C
analogous
#2C8D63 #2C878D #2C578D
triadic
#2C878D #8D2C87 #878D2C
tetradic
#2C878D #632C8D #8D322C #578D2C
square
#2C878D #632C8D #8D322C #578D2C
split-complementary
#2C878D #8D2C57 #8D632C
monochromatic
#0F2E30 #1D5A5E #2C878D #3BB4BC #65C8CF

Accessibility & contrast

On white

4.24
#2C878D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2C878D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C878D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C878D#FFFFFF#000000##000000
##2C878D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818E
Deuteranopia (green-blind)
#6E768D
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c878d;
/* rgb */ color: rgb(44, 135, 141);
/* oklch */ color: oklch(57.4% 0.084 201.4);
Tailwind
colors: {
  custom: {
    50: '#73aaae',
    500: '#2c878d',
    950: '#000000',
  },
}
SCSS
$custom: #2c878d;
$custom-light: #73aaae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c878d",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 141
  },
  "hsl": {
    "h": 183.711,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.08369,
    "h": 201.4
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#2C878D
secondary
#B56560
accent
#554CDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2C878D

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

Preview Lab → · Contrast checker → · Palette generator →

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