#2D878D#2D878D

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

Color values

HEX#2D878D
RGBrgb(45, 135, 141)
HSLhsl(184, 52%, 36%)
HSVhsv(184, 68%, 55%)
CMYKcmyk(68.1%, 4.3%, 0%, 44.7%)
CIE-LABlab(51.62, -23.98, -10.98)
CIE-LCHlch(51.62, 26.37, 204.60°)
OKLaboklab(57.38% -0.0774 -0.0304)
OKLCHoklch(57.38% 0.083 201.5)
XYZxyz(14.5518, 19.8073, 28.2504)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D878D #8D332D
analogous
#2D8D63 #2D878D #2D578D
triadic
#2D878D #8D2D87 #878D2D
tetradic
#2D878D #632D8D #8D332D #578D2D
square
#2D878D #632D8D #8D332D #578D2D
split-complementary
#2D878D #8D2D57 #8D632D
monochromatic
#0F2E30 #1E5B5F #2D878D #3CB3BB #66C8CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D878D#FFFFFF#000000##000000
##2D878D1.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)
#7D818E
Deuteranopia (green-blind)
#6E778D
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d878d;
/* rgb */ color: rgb(45, 135, 141);
/* oklch */ color: oklch(57.4% 0.083 201.5);
Tailwind
colors: {
  custom: {
    50: '#74aaae',
    500: '#2d878d',
    950: '#000000',
  },
}
SCSS
$custom: #2d878d;
$custom-light: #74aaae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d878d",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 141
  },
  "hsl": {
    "h": 183.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.08318,
    "h": 201.5
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#2D878D
secondary
#B56661
accent
#564DDB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2D878D

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

Preview Lab → · Contrast checker → · Palette generator →

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