#408B82#408B82

#408B82 is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.7% C 0.076 H 184.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#408B82
RGBrgb(64, 139, 130)
HSLhsl(173, 37%, 40%)
HSVhsv(173, 54%, 55%)
CMYKcmyk(54%, 0%, 6.5%, 45.5%)
CIE-LABlab(53.13, -25.54, -2.27)
CIE-LCHlch(53.13, 25.64, 185.09°)
OKLaboklab(58.65% -0.0756 -0.0065)
OKLCHoklch(58.65% 0.076 184.9)
XYZxyz(15.3745, 21.1655, 24.3899)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B82 #8B4049
analogous
#408B5D #408B82 #406F8B
triadic
#408B82 #82408B #8B8240
tetradic
#408B82 #5D408B #8B4049 #6F8B40
square
#408B82 #5D408B #8B4049 #6F8B40
split-complementary
#408B82 #8B406F #8B5D40
monochromatic
#193734 #2D615B #408B82 #57B2A7 #81C5BD

Accessibility & contrast

On white

4.01
#408B82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#408B82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B82
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B82#FFFFFF#000000##000000
##408B821.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858482
Deuteranopia (green-blind)
#797B83
Tritanopia (blue-blind)
#0F8E88
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #408b82;
/* rgb */ color: rgb(64, 139, 130);
/* oklch */ color: oklch(58.7% 0.076 184.9);
Tailwind
colors: {
  custom: {
    50: '#7cada6',
    500: '#408b82',
    950: '#000000',
  },
}
SCSS
$custom: #408b82;
$custom-light: #7cada6;
$custom-dark: #000000;
JSON
{
  "hex": "#408b82",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 130
  },
  "hsl": {
    "h": 172.8,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58654,
    "c": 0.07593,
    "h": 184.9
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#408B82
secondary
#AF787E
accent
#5B69CD
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #408B82

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

Preview Lab → · Contrast checker → · Palette generator →

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