#3A987D#3A987D

#3A987D is a mid, moderate teal. Relative luminance 0.248; OKLCH L 61.6% C 0.098 H 170.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3A987D
RGBrgb(58, 152, 125)
HSLhsl(163, 45%, 41%)
HSVhsv(163, 62%, 60%)
CMYKcmyk(61.8%, 0%, 17.8%, 40.4%)
CIE-LABlab(56.91, -34.39, 6.07)
CIE-LCHlch(56.91, 34.92, 170.00°)
OKLaboklab(61.63% -0.0967 0.0155)
OKLCHoklch(61.63% 0.098 170.9)
XYZxyz(16.6730, 24.8350, 23.3130)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A987D #983A55
analogous
#3A984E #3A987D #3A8498
triadic
#3A987D #7D3A98 #987D3A
tetradic
#3A987D #4E3A98 #983A55 #84983A
square
#3A987D #4E3A98 #983A55 #84983A
split-complementary
#3A987D #983A84 #984E3A
monochromatic
#183F34 #296C59 #3A987D #52BD9E #7ECEB7

Accessibility & contrast

On white

3.52
#3A987D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#3A987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A987D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A987D#FFFFFF#000000##000000
##3A987D1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E7C
Deuteranopia (green-blind)
#86857F
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #3a987d;
/* rgb */ color: rgb(58, 152, 125);
/* oklch */ color: oklch(61.6% 0.098 170.9);
Tailwind
colors: {
  custom: {
    50: '#7ab7a2',
    500: '#3a987d',
    950: '#000000',
  },
}
SCSS
$custom: #3a987d;
$custom-light: #7ab7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a987d",
  "rgb": {
    "r": 58,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 162.766,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61627,
    "c": 0.09797,
    "h": 170.9
  },
  "luminance": 0.24837
}

Semantic roles & 50–950 ramp

primary
#3A987D
secondary
#B87689
accent
#5378D4
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #3A987D

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

Preview Lab → · Contrast checker → · Palette generator →

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