#2D878E#2D878E

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

Color values

HEX#2D878E
RGBrgb(45, 135, 142)
HSLhsl(184, 52%, 37%)
HSVhsv(184, 68%, 56%)
CMYKcmyk(68.3%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.65, -23.67, -11.51)
CIE-LCHlch(51.65, 26.32, 205.93°)
OKLaboklab(57.42% -0.077 -0.0319)
OKLCHoklch(57.42% 0.083 202.5)
XYZxyz(14.6265, 19.8372, 28.6440)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D878E #8E342D
analogous
#2D8E65 #2D878E #2D578E
triadic
#2D878E #8E2D87 #878E2D
tetradic
#2D878E #652D8E #8E342D #578E2D
square
#2D878E #652D8E #8E342D #578E2D
split-complementary
#2D878E #8E2D57 #8E652D
monochromatic
#102F31 #1E5B60 #2D878E #3CB3BC #67C7CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D878E#FFFFFF#000000##000000
##2D878E1.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)
#7D818F
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d878e;
/* rgb */ color: rgb(45, 135, 142);
/* oklch */ color: oklch(57.4% 0.083 202.5);
Tailwind
colors: {
  custom: {
    50: '#74aaaf',
    500: '#2d878e',
    950: '#000000',
  },
}
SCSS
$custom: #2d878e;
$custom-light: #74aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d878e",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 184.33,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.08332,
    "h": 202.5
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#2D878E
secondary
#B56761
accent
#574CDB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2D878E

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

Preview Lab → · Contrast checker → · Palette generator →

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