#40987D#40987D

#40987D is a mid, moderate teal. Relative luminance 0.250; OKLCH L 61.8% C 0.095 H 170.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#40987D
RGBrgb(64, 152, 125)
HSLhsl(162, 41%, 42%)
HSVhsv(162, 58%, 60%)
CMYKcmyk(57.9%, 0%, 17.8%, 40.4%)
CIE-LABlab(57.10, -33.14, 6.36)
CIE-LCHlch(57.10, 33.74, 169.14°)
OKLaboklab(61.83% -0.0932 0.0163)
OKLCHoklch(61.83% 0.095 170.1)
XYZxyz(17.0425, 25.0255, 23.3303)
Luminance0.2503 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40987D #98405B
analogous
#409851 #40987D #408798
triadic
#40987D #7D4098 #987D40
tetradic
#40987D #514098 #98405B #879840
square
#40987D #514098 #98405B #879840
split-complementary
#40987D #984087 #985140
monochromatic
#1C4236 #2E6D5A #40987D #5BBA9D #86CCB7

Accessibility & contrast

On white

3.50
#40987D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#40987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40987D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40987D#FFFFFF#000000##000000
##40987D1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7C
Deuteranopia (green-blind)
#87857F
Tritanopia (blue-blind)
#0C9990
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #40987d;
/* rgb */ color: rgb(64, 152, 125);
/* oklch */ color: oklch(61.8% 0.095 170.1);
Tailwind
colors: {
  custom: {
    50: '#7db7a2',
    500: '#40987d',
    950: '#000000',
  },
}
SCSS
$custom: #40987d;
$custom-light: #7db7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40987d",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 161.591,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.09458,
    "h": 170.1
  },
  "luminance": 0.25027
}

Semantic roles & 50–950 ramp

primary
#40987D
secondary
#B77D8F
accent
#577CD1
background
#F8FBF9
surface
#EFF6F2
border
#CAD0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #40987D

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

Preview Lab → · Contrast checker → · Palette generator →

#40987D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva