#408D82#408D82

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

Color values

HEX#408D82
RGBrgb(64, 141, 130)
HSLhsl(171, 38%, 40%)
HSVhsv(171, 55%, 55%)
CMYKcmyk(54.6%, 0%, 7.8%, 44.7%)
CIE-LABlab(53.76, -26.55, -1.35)
CIE-LCHlch(53.76, 26.58, 182.91°)
OKLaboklab(59.16% -0.078 -0.004)
OKLCHoklch(59.16% 0.078 183)
XYZxyz(15.6668, 21.7500, 24.4873)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D82 #8D404B
analogous
#408D5C #408D82 #40718D
triadic
#408D82 #82408D #8D8240
tetradic
#408D82 #5C408D #8D404B #718D40
square
#408D82 #5C408D #8D404B #718D40
split-complementary
#408D82 #8D4071 #8D5C40
monochromatic
#1A3934 #2D635B #408D82 #57B3A6 #81C6BC

Accessibility & contrast

On white

3.93
#408D82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408D82#FFFFFF#000000##000000
##408D821.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878682
Deuteranopia (green-blind)
#7B7D83
Tritanopia (blue-blind)
#0D908A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #408d82;
/* rgb */ color: rgb(64, 141, 130);
/* oklch */ color: oklch(59.2% 0.078 183.0);
Tailwind
colors: {
  custom: {
    50: '#7caea6',
    500: '#408d82',
    950: '#000000',
  },
}
SCSS
$custom: #408d82;
$custom-light: #7caea6;
$custom-dark: #000000;
JSON
{
  "hex": "#408d82",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 130
  },
  "hsl": {
    "h": 171.429,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.07812,
    "h": 183
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#408D82
secondary
#B07880
accent
#5A6BCE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #408D82

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

Preview Lab → · Contrast checker → · Palette generator →

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