#40987C#40987C

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

Color values

HEX#40987C
RGBrgb(64, 152, 124)
HSLhsl(161, 41%, 42%)
HSVhsv(161, 58%, 60%)
CMYKcmyk(57.9%, 0%, 18.4%, 40.4%)
CIE-LABlab(57.08, -33.38, 6.89)
CIE-LCHlch(57.08, 34.09, 168.34°)
OKLaboklab(61.8% -0.0937 0.0176)
OKLCHoklch(61.8% 0.095 169.3)
XYZxyz(16.9790, 25.0001, 22.9956)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40987C #98405C
analogous
#409850 #40987C #408898
triadic
#40987C #7C4098 #987C40
tetradic
#40987C #504098 #98405C #889840
square
#40987C #504098 #98405C #889840
split-complementary
#40987C #984088 #985040
monochromatic
#1C4236 #2E6D59 #40987C #5BBA9C #86CCB6

Accessibility & contrast

On white

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

On black

6.00
#40987C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40987C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40987C#FFFFFF#000000##000000
##40987C1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7B
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#0E9990
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #40987c;
/* rgb */ color: rgb(64, 152, 124);
/* oklch */ color: oklch(61.8% 0.095 169.3);
Tailwind
colors: {
  custom: {
    50: '#7db7a1',
    500: '#40987c',
    950: '#000000',
  },
}
SCSS
$custom: #40987c;
$custom-light: #7db7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40987c",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 160.909,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.0953,
    "h": 169.3
  },
  "luminance": 0.25002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40987C

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

Preview Lab → · Contrast checker → · Palette generator →

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