#408D8D#408D8D

#408D8D is a mid, moderate teal. Relative luminance 0.221; OKLCH L 59.5% C 0.076 H 195.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#408D8D
RGBrgb(64, 141, 141)
HSLhsl(180, 38%, 40%)
HSVhsv(180, 55%, 55%)
CMYKcmyk(54.6%, 0%, 0%, 44.7%)
CIE-LABlab(54.09, -23.51, -7.22)
CIE-LCHlch(54.09, 24.59, 197.06°)
OKLaboklab(59.54% -0.0729 -0.02)
OKLCHoklch(59.54% 0.076 195.3)
XYZxyz(16.4449, 22.0613, 28.5858)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D8D #8D4040
analogous
#408D66 #408D8D #40668D
triadic
#408D8D #8D408D #8D8D40
tetradic
#408D8D #66408D #8D4040 #668D40
square
#408D8D #66408D #8D4040 #668D40
split-complementary
#408D8D #8D4066 #8D6640
monochromatic
#1A3939 #2D6363 #408D8D #57B3B3 #81C6C6

Accessibility & contrast

On white

3.88
#408D8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#408D8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D8D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D8D#FFFFFF#000000##000000
##408D8D1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85878D
Deuteranopia (green-blind)
#787D8E
Tritanopia (blue-blind)
#00918D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #408d8d;
/* rgb */ color: rgb(64, 141, 141);
/* oklch */ color: oklch(59.5% 0.076 195.3);
Tailwind
colors: {
  custom: {
    50: '#7daeae',
    500: '#408d8d',
    950: '#000000',
  },
}
SCSS
$custom: #408d8d;
$custom-light: #7daeae;
$custom-dark: #000000;
JSON
{
  "hex": "#408d8d",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 141
  },
  "hsl": {
    "h": 180,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.07562,
    "h": 195.3
  },
  "luminance": 0.22063
}

Semantic roles & 50–950 ramp

primary
#408D8D
secondary
#B07878
accent
#5A5ACE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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