#408F87#408F87

#408F87 is a mid, moderate teal. Relative luminance 0.225; OKLCH L 59.8% C 0.079 H 186.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#408F87
RGBrgb(64, 143, 135)
HSLhsl(174, 38%, 41%)
HSVhsv(174, 55%, 56%)
CMYKcmyk(55.2%, 0%, 5.6%, 43.9%)
CIE-LABlab(54.54, -26.19, -3.10)
CIE-LCHlch(54.54, 26.38, 186.74°)
OKLaboklab(59.84% -0.078 -0.0088)
OKLCHoklch(59.84% 0.079 186.4)
XYZxyz(16.3081, 22.4826, 26.3971)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F87 #8F4048
analogous
#408F5F #408F87 #406F8F
triadic
#408F87 #87408F #8F8740
tetradic
#408F87 #5F408F #8F4048 #6F8F40
square
#408F87 #5F408F #8F4048 #6F8F40
split-complementary
#408F87 #8F406F #8F5F40
monochromatic
#1A3A37 #2D655F #408F87 #58B4AB #82C7C0

Accessibility & contrast

On white

3.82
#408F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#408F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F87
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F87#FFFFFF#000000##000000
##408F871.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#888887
Deuteranopia (green-blind)
#7C7F88
Tritanopia (blue-blind)
#00928C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408f87;
/* rgb */ color: rgb(64, 143, 135);
/* oklch */ color: oklch(59.8% 0.079 186.4);
Tailwind
colors: {
  custom: {
    50: '#7cb0a9',
    500: '#408f87',
    950: '#000000',
  },
}
SCSS
$custom: #408f87;
$custom-light: #7cb0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#408f87",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 135
  },
  "hsl": {
    "h": 173.924,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.07851,
    "h": 186.4
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#408F87
secondary
#B2797F
accent
#5A65CE
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408F87

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

Preview Lab → · Contrast checker → · Palette generator →

#408F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva