#408F8A#408F8A

#408F8A is a mid, moderate teal. Relative luminance 0.226; OKLCH L 59.9% C 0.078 H 189.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#408F8A
RGBrgb(64, 143, 138)
HSLhsl(176, 38%, 41%)
HSVhsv(176, 55%, 56%)
CMYKcmyk(55.2%, 0%, 3.5%, 43.9%)
CIE-LABlab(54.62, -25.37, -4.69)
CIE-LCHlch(54.62, 25.80, 190.48°)
OKLaboklab(59.94% -0.0766 -0.0131)
OKLCHoklch(59.94% 0.078 189.7)
XYZxyz(16.5223, 22.5683, 27.5252)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F8A #8F4045
analogous
#408F63 #408F8A #406C8F
triadic
#408F8A #8A408F #8F8A40
tetradic
#408F8A #63408F #8F4045 #6C8F40
square
#408F8A #63408F #8F4045 #6C8F40
split-complementary
#408F8A #8F406C #8F6340
monochromatic
#1A3A38 #2D6561 #408F8A #58B4AE #82C7C3

Accessibility & contrast

On white

3.81
#408F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#408F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F8A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F8A#FFFFFF#000000##000000
##408F8A1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88888A
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#00928D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408f8a;
/* rgb */ color: rgb(64, 143, 138);
/* oklch */ color: oklch(59.9% 0.078 189.7);
Tailwind
colors: {
  custom: {
    50: '#7db0ac',
    500: '#408f8a',
    950: '#000000',
  },
}
SCSS
$custom: #408f8a;
$custom-light: #7db0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#408f8a",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 138
  },
  "hsl": {
    "h": 176.203,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.07774,
    "h": 189.7
  },
  "luminance": 0.2257
}

Semantic roles & 50–950 ramp

primary
#408F8A
secondary
#B2797D
accent
#5A61CE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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