#2A877C#2A877C

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

Color values

HEX#2A877C
RGBrgb(42, 135, 124)
HSLhsl(173, 53%, 35%)
HSVhsv(173, 69%, 53%)
CMYKcmyk(68.9%, 0%, 8.1%, 47.1%)
CIE-LABlab(51.01, -29.53, -1.99)
CIE-LCHlch(51.01, 29.60, 183.85°)
OKLaboklab(56.68% -0.0868 -0.0058)
OKLCHoklch(56.68% 0.087 183.8)
XYZxyz(13.2552, 19.2739, 22.0865)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A877C #872A35
analogous
#2A874D #2A877C #2A6487
triadic
#2A877C #7C2A87 #877C2A
tetradic
#2A877C #4D2A87 #872A35 #64872A
square
#2A877C #4D2A87 #872A35 #64872A
split-complementary
#2A877C #872A64 #874D2A
monochromatic
#0D2A26 #1B5851 #2A877C #39B6A7 #5ECDC0

Accessibility & contrast

On white

4.33
#2A877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A877C#FFFFFF#000000##000000
##2A877C1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#73757D
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a877c;
/* rgb */ color: rgb(42, 135, 124);
/* oklch */ color: oklch(56.7% 0.087 183.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa1',
    500: '#2a877c',
    950: '#000000',
  },
}
SCSS
$custom: #2a877c;
$custom-light: #71aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a877c",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 172.903,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.08703,
    "h": 183.8
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#2A877C
secondary
#B35A65
accent
#4C5DDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #2A877C

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

Preview Lab → · Contrast checker → · Palette generator →

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