#408E8D#408E8D

#408E8D is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.8% C 0.076 H 194.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#408E8D
RGBrgb(64, 142, 141)
HSLhsl(179, 38%, 40%)
HSVhsv(179, 55%, 56%)
CMYKcmyk(54.9%, 0%, 0.7%, 44.3%)
CIE-LABlab(54.40, -24.02, -6.75)
CIE-LCHlch(54.40, 24.95, 195.70°)
OKLaboklab(59.79% -0.0741 -0.0187)
OKLCHoklch(59.79% 0.076 194.2)
XYZxyz(16.5931, 22.3575, 28.6351)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E8D #8E4041
analogous
#408E66 #408E8D #40688E
triadic
#408E8D #8D408E #8E8D40
tetradic
#408E8D #66408E #8E4041 #688E40
square
#408E8D #66408E #8E4041 #688E40
split-complementary
#408E8D #8E4068 #8E6640
monochromatic
#1A3A39 #2D6463 #408E8D #58B4B2 #82C7C6

Accessibility & contrast

On white

3.84
#408E8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#408E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E8D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E8D#FFFFFF#000000##000000
##408E8D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888D
Deuteranopia (green-blind)
#797E8E
Tritanopia (blue-blind)
#00928D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408e8d;
/* rgb */ color: rgb(64, 142, 141);
/* oklch */ color: oklch(59.8% 0.076 194.2);
Tailwind
colors: {
  custom: {
    50: '#7dafae',
    500: '#408e8d',
    950: '#000000',
  },
}
SCSS
$custom: #408e8d;
$custom-light: #7dafae;
$custom-dark: #000000;
JSON
{
  "hex": "#408e8d",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 141
  },
  "hsl": {
    "h": 179.231,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.07642,
    "h": 194.2
  },
  "luminance": 0.22359
}

Semantic roles & 50–950 ramp

primary
#408E8D
secondary
#B17979
accent
#5A5BCE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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