#408987#408987

#408987 is a mid, moderate teal. Relative luminance 0.207; OKLCH L 58.3% C 0.073 H 192.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#408987
RGBrgb(64, 137, 135)
HSLhsl(178, 36%, 39%)
HSVhsv(178, 53%, 54%)
CMYKcmyk(53.3%, 0%, 1.5%, 46.3%)
CIE-LABlab(52.65, -23.15, -5.88)
CIE-LCHlch(52.65, 23.88, 194.26°)
OKLaboklab(58.32% -0.071 -0.0163)
OKLCHoklch(58.32% 0.073 192.9)
XYZxyz(15.4314, 20.7292, 26.1049)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408987 #894042
analogous
#408963 #408987 #406789
triadic
#408987 #874089 #898740
tetradic
#408987 #634089 #894042 #678940
square
#408987 #634089 #894042 #678940
split-complementary
#408987 #894067 #896340
monochromatic
#193635 #2D5F5E #408987 #56B0AE #80C4C2

Accessibility & contrast

On white

4.08
#408987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#408987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408987
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408987#FFFFFF#000000##000000
##4089871.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#828387
Deuteranopia (green-blind)
#757A88
Tritanopia (blue-blind)
#068D88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408987;
/* rgb */ color: rgb(64, 137, 135);
/* oklch */ color: oklch(58.3% 0.073 192.9);
Tailwind
colors: {
  custom: {
    50: '#7caba9',
    500: '#408987',
    950: '#000000',
  },
}
SCSS
$custom: #408987;
$custom-light: #7caba9;
$custom-dark: #000000;
JSON
{
  "hex": "#408987",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 135
  },
  "hsl": {
    "h": 178.356,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.07282,
    "h": 192.9
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#408987
secondary
#AE7778
accent
#5B5FCC
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408987

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

Preview Lab → · Contrast checker → · Palette generator →

#408987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva