#3A877D#3A877D

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

Color values

HEX#3A877D
RGBrgb(58, 135, 125)
HSLhsl(172, 40%, 38%)
HSVhsv(172, 57%, 53%)
CMYKcmyk(57%, 0%, 7.4%, 47.1%)
CIE-LABlab(51.50, -26.22, -1.78)
CIE-LCHlch(51.50, 26.29, 183.89°)
OKLaboklab(57.23% -0.0773 -0.0052)
OKLCHoklch(57.23% 0.077 183.9)
XYZxyz(14.1089, 19.7068, 22.4583)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A877D #873A44
analogous
#3A8757 #3A877D #3A6A87
triadic
#3A877D #7D3A87 #877D3A
tetradic
#3A877D #573A87 #873A44 #6A873A
square
#3A877D #573A87 #873A44 #6A873A
split-complementary
#3A877D #873A6A #87573A
monochromatic
#15312E #285C55 #3A877D #4CB2A5 #77C5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A877D#FFFFFF#000000##000000
##3A877D1.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)
#81807D
Deuteranopia (green-blind)
#75777E
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a877d;
/* rgb */ color: rgb(58, 135, 125);
/* oklch */ color: oklch(57.2% 0.077 183.9);
Tailwind
colors: {
  custom: {
    50: '#78aaa2',
    500: '#3a877d',
    950: '#000000',
  },
}
SCSS
$custom: #3a877d;
$custom-light: #78aaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a877d",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 125
  },
  "hsl": {
    "h": 172.208,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.07747,
    "h": 183.9
  },
  "luminance": 0.19708
}

Semantic roles & 50–950 ramp

primary
#3A877D
secondary
#AE6F77
accent
#5868D0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #3A877D

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

Preview Lab → · Contrast checker → · Palette generator →

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