#2C878F#2C878F

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

Color values

HEX#2C878F
RGBrgb(44, 135, 143)
HSLhsl(185, 53%, 37%)
HSVhsv(185, 69%, 56%)
CMYKcmyk(69.2%, 5.6%, 0%, 43.9%)
CIE-LABlab(51.66, -23.51, -12.08)
CIE-LCHlch(51.66, 26.43, 207.20°)
OKLaboklab(57.43% -0.077 -0.0335)
OKLCHoklch(57.43% 0.084 203.5)
XYZxyz(14.6585, 19.8449, 29.0392)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C878F #8F342C
analogous
#2C8F66 #2C878F #2C568F
triadic
#2C878F #8F2C87 #878F2C
tetradic
#2C878F #662C8F #8F342C #568F2C
square
#2C878F #662C8F #8F342C #568F2C
split-complementary
#2C878F #8F2C56 #8F662C
monochromatic
#0F2F31 #1E5B60 #2C878F #3AB3BE #66C7D0

Accessibility & contrast

On white

4.23
#2C878F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2C878F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C878F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C878F#FFFFFF#000000##000000
##2C878F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c878f;
/* rgb */ color: rgb(44, 135, 143);
/* oklch */ color: oklch(57.4% 0.084 203.5);
Tailwind
colors: {
  custom: {
    50: '#74aaaf',
    500: '#2c878f',
    950: '#000000',
  },
}
SCSS
$custom: #2c878f;
$custom-light: #74aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c878f",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 184.848,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.08399,
    "h": 203.5
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#2C878F
secondary
#B66761
accent
#574BDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2C878F

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

Preview Lab → · Contrast checker → · Palette generator →

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