#2A877D#2A877D

#2A877D is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.087 H 184.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2A877D
RGBrgb(42, 135, 125)
HSLhsl(174, 53%, 35%)
HSVhsv(174, 69%, 53%)
CMYKcmyk(68.9%, 0%, 7.4%, 47.1%)
CIE-LABlab(51.04, -29.24, -2.52)
CIE-LCHlch(51.04, 29.35, 184.94°)
OKLaboklab(56.72% -0.0863 -0.0073)
OKLCHoklch(56.72% 0.087 184.8)
XYZxyz(13.3188, 19.2994, 22.4213)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A877D #872A34
analogous
#2A874E #2A877D #2A6387
triadic
#2A877D #7D2A87 #877D2A
tetradic
#2A877D #4E2A87 #872A34 #63872A
square
#2A877D #4E2A87 #872A34 #63872A
split-complementary
#2A877D #872A63 #874E2A
monochromatic
#0D2A27 #1B5852 #2A877D #39B6A8 #5ECDC1

Accessibility & contrast

On white

4.32
#2A877D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2A877D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A877D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A877D#FFFFFF#000000##000000
##2A877D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7D
Deuteranopia (green-blind)
#73757E
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a877d;
/* rgb */ color: rgb(42, 135, 125);
/* oklch */ color: oklch(56.7% 0.087 184.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa2',
    500: '#2a877d',
    950: '#000000',
  },
}
SCSS
$custom: #2a877d;
$custom-light: #71aaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a877d",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 125
  },
  "hsl": {
    "h": 173.548,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.08666,
    "h": 184.8
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#2A877D
secondary
#B35A64
accent
#4C5BDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #2A877D

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

Preview Lab → · Contrast checker → · Palette generator →

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