#408C8D#408C8D

#408C8D is a mid, moderate teal. Relative luminance 0.218; OKLCH L 59.3% C 0.075 H 196.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#408C8D
RGBrgb(64, 140, 141)
HSLhsl(181, 38%, 40%)
HSVhsv(181, 55%, 55%)
CMYKcmyk(54.6%, 0.7%, 0%, 44.7%)
CIE-LABlab(53.78, -22.99, -7.68)
CIE-LCHlch(53.78, 24.24, 198.47°)
OKLaboklab(59.29% -0.0718 -0.0212)
OKLCHoklch(59.29% 0.075 196.5)
XYZxyz(16.2982, 21.7677, 28.5368)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C8D #8D4140
analogous
#408D67 #408C8D #40668D
triadic
#408C8D #8D408C #8C8D40
tetradic
#408C8D #67408D #8D4140 #668D40
square
#408C8D #67408D #8D4140 #668D40
split-complementary
#408C8D #8D4066 #8D6740
monochromatic
#1A3839 #2D6263 #408C8D #57B2B3 #81C5C6

Accessibility & contrast

On white

3.92
#408C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#408C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C8D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C8D#FFFFFF#000000##000000
##408C8D1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84868D
Deuteranopia (green-blind)
#777D8E
Tritanopia (blue-blind)
#00908C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #408c8d;
/* rgb */ color: rgb(64, 140, 141);
/* oklch */ color: oklch(59.3% 0.075 196.5);
Tailwind
colors: {
  custom: {
    50: '#7daeae',
    500: '#408c8d',
    950: '#000000',
  },
}
SCSS
$custom: #408c8d;
$custom-light: #7daeae;
$custom-dark: #000000;
JSON
{
  "hex": "#408c8d",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 141
  },
  "hsl": {
    "h": 180.779,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.07485,
    "h": 196.5
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#408C8D
secondary
#B07978
accent
#5C5ACE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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