#408E8A#408E8A

#408E8A is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.7% C 0.077 H 190.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#408E8A
RGBrgb(64, 142, 138)
HSLhsl(177, 38%, 40%)
HSVhsv(177, 55%, 56%)
CMYKcmyk(54.9%, 0%, 2.8%, 44.3%)
CIE-LABlab(54.31, -24.86, -5.16)
CIE-LCHlch(54.31, 25.39, 191.72°)
OKLaboklab(59.69% -0.0755 -0.0143)
OKLCHoklch(59.69% 0.077 190.8)
XYZxyz(16.3729, 22.2694, 27.4754)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E8A #8E4044
analogous
#408E63 #408E8A #406B8E
triadic
#408E8A #8A408E #8E8A40
tetradic
#408E8A #63408E #8E4044 #6B8E40
square
#408E8A #63408E #8E4044 #6B8E40
split-complementary
#408E8A #8E406B #8E6340
monochromatic
#1A3A38 #2D6461 #408E8A #58B4AF #82C7C3

Accessibility & contrast

On white

3.85
#408E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#408E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E8A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E8A#FFFFFF#000000##000000
##408E8A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87878A
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#00918D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408e8a;
/* rgb */ color: rgb(64, 142, 138);
/* oklch */ color: oklch(59.7% 0.077 190.8);
Tailwind
colors: {
  custom: {
    50: '#7dafac',
    500: '#408e8a',
    950: '#000000',
  },
}
SCSS
$custom: #408e8a;
$custom-light: #7dafac;
$custom-dark: #000000;
JSON
{
  "hex": "#408e8a",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 138
  },
  "hsl": {
    "h": 176.923,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.07682,
    "h": 190.8
  },
  "luminance": 0.22271
}

Semantic roles & 50–950 ramp

primary
#408E8A
secondary
#B1797C
accent
#5A60CE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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