#408C8A#408C8A

#408C8A is a mid, moderate teal. Relative luminance 0.217; OKLCH L 59.2% C 0.075 H 193.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#408C8A
RGBrgb(64, 140, 138)
HSLhsl(178, 37%, 40%)
HSVhsv(178, 54%, 55%)
CMYKcmyk(54.3%, 0%, 1.4%, 45.1%)
CIE-LABlab(53.69, -23.84, -6.09)
CIE-LCHlch(53.69, 24.61, 194.32°)
OKLaboklab(59.18% -0.0731 -0.0169)
OKLCHoklch(59.18% 0.075 193)
XYZxyz(16.0780, 21.6796, 27.3771)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C8A #8C4042
analogous
#408C64 #408C8A #40688C
triadic
#408C8A #8A408C #8C8A40
tetradic
#408C8A #64408C #8C4042 #688C40
square
#408C8A #64408C #8C4042 #688C40
split-complementary
#408C8A #8C4068 #8C6440
monochromatic
#1A3837 #2D6261 #408C8A #57B2B0 #81C5C4

Accessibility & contrast

On white

3.94
#408C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#408C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C8A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C8A#FFFFFF#000000##000000
##408C8A1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84868A
Deuteranopia (green-blind)
#787C8B
Tritanopia (blue-blind)
#00908B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #408c8a;
/* rgb */ color: rgb(64, 140, 138);
/* oklch */ color: oklch(59.2% 0.075 193.0);
Tailwind
colors: {
  custom: {
    50: '#7caeac',
    500: '#408c8a',
    950: '#000000',
  },
}
SCSS
$custom: #408c8a;
$custom-light: #7caeac;
$custom-dark: #000000;
JSON
{
  "hex": "#408c8a",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 138
  },
  "hsl": {
    "h": 178.421,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.07505,
    "h": 193
  },
  "luminance": 0.21681
}

Semantic roles & 50–950 ramp

primary
#408C8A
secondary
#B07879
accent
#5B5ECD
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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