#408E7E#408E7E

#408E7E is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.3% C 0.081 H 178.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#408E7E
RGBrgb(64, 142, 126)
HSLhsl(168, 38%, 40%)
HSVhsv(168, 55%, 56%)
CMYKcmyk(54.9%, 0%, 11.3%, 44.3%)
CIE-LABlab(53.96, -28.10, 1.26)
CIE-LCHlch(53.96, 28.12, 177.44°)
OKLaboklab(59.29% -0.0811 0.0029)
OKLCHoklch(59.29% 0.081 178)
XYZxyz(15.5516, 21.9409, 23.1501)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E7E #8E4050
analogous
#408E57 #408E7E #40778E
triadic
#408E7E #7E408E #8E7E40
tetradic
#408E7E #57408E #8E4050 #778E40
square
#408E7E #57408E #8E4050 #778E40
split-complementary
#408E7E #8E4077 #8E5740
monochromatic
#1A3A33 #2D6459 #408E7E #58B4A1 #82C7B8

Accessibility & contrast

On white

3.90
#408E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#408E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E7E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E7E#FFFFFF#000000##000000
##408E7E1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#7D7D7F
Tritanopia (blue-blind)
#139089
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #408e7e;
/* rgb */ color: rgb(64, 142, 126);
/* oklch */ color: oklch(59.3% 0.081 178.0);
Tailwind
colors: {
  custom: {
    50: '#7cafa3',
    500: '#408e7e',
    950: '#000000',
  },
}
SCSS
$custom: #408e7e;
$custom-light: #7cafa3;
$custom-dark: #000000;
JSON
{
  "hex": "#408e7e",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 126
  },
  "hsl": {
    "h": 167.692,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59292,
    "c": 0.08113,
    "h": 178
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#408E7E
secondary
#B17984
accent
#5A72CE
background
#F7FAFA
surface
#EEF4F3
border
#C9CECD
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #408E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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