#2C878E#2C878E

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

Color values

HEX#2C878E
RGBrgb(44, 135, 142)
HSLhsl(184, 53%, 36%)
HSVhsv(184, 69%, 56%)
CMYKcmyk(69%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.63, -23.82, -11.55)
CIE-LCHlch(51.63, 26.47, 205.86°)
OKLaboklab(57.39% -0.0775 -0.032)
OKLCHoklch(57.39% 0.084 202.5)
XYZxyz(14.5830, 19.8148, 28.6420)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C878E #8E332C
analogous
#2C8E64 #2C878E #2C568E
triadic
#2C878E #8E2C87 #878E2C
tetradic
#2C878E #642C8E #8E332C #568E2C
square
#2C878E #642C8E #8E332C #568E2C
split-complementary
#2C878E #8E2C56 #8E642C
monochromatic
#0F2E31 #1E5B5F #2C878E #3AB3BD #65C8CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C878E#FFFFFF#000000##000000
##2C878E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c878e;
/* rgb */ color: rgb(44, 135, 142);
/* oklch */ color: oklch(57.4% 0.084 202.5);
Tailwind
colors: {
  custom: {
    50: '#73aaaf',
    500: '#2c878e',
    950: '#000000',
  },
}
SCSS
$custom: #2c878e;
$custom-light: #73aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c878e",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 184.286,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57391,
    "c": 0.08382,
    "h": 202.5
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#2C878E
secondary
#B66660
accent
#564CDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2C878E

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

Preview Lab → · Contrast checker → · Palette generator →

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