#3A877C#3A877C

#3A877C is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.078 H 182.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A877C
RGBrgb(58, 135, 124)
HSLhsl(171, 40%, 38%)
HSVhsv(171, 57%, 53%)
CMYKcmyk(57%, 0%, 8.1%, 47.1%)
CIE-LABlab(51.48, -26.50, -1.24)
CIE-LCHlch(51.48, 26.53, 182.68°)
OKLaboklab(57.2% -0.0778 -0.0038)
OKLCHoklch(57.2% 0.078 182.8)
XYZxyz(14.0454, 19.6814, 22.1236)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A877C #873A45
analogous
#3A8756 #3A877C #3A6B87
triadic
#3A877C #7C3A87 #877C3A
tetradic
#3A877C #563A87 #873A45 #6B873A
square
#3A877C #563A87 #873A45 #6B873A
split-complementary
#3A877C #873A6B #87563A
monochromatic
#15312D #285C55 #3A877C #4CB2A3 #77C5B9

Accessibility & contrast

On white

4.25
#3A877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#3A877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A877C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A877C#FFFFFF#000000##000000
##3A877C1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807C
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#008984
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a877c;
/* rgb */ color: rgb(58, 135, 124);
/* oklch */ color: oklch(57.2% 0.078 182.8);
Tailwind
colors: {
  custom: {
    50: '#78aaa1',
    500: '#3a877c',
    950: '#000000',
  },
}
SCSS
$custom: #3a877c;
$custom-light: #78aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a877c",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 171.429,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.07786,
    "h": 182.8
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#3A877C
secondary
#AE6F78
accent
#5869D0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #3A877C

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

Preview Lab → · Contrast checker → · Palette generator →

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