#408B8A#408B8A

#408B8A is a mid, moderate teal. Relative luminance 0.214; OKLCH L 58.9% C 0.074 H 194.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#408B8A
RGBrgb(64, 139, 138)
HSLhsl(179, 37%, 40%)
HSVhsv(179, 54%, 55%)
CMYKcmyk(54%, 0%, 0.7%, 45.5%)
CIE-LABlab(53.37, -23.33, -6.55)
CIE-LCHlch(53.37, 24.23, 195.68°)
OKLaboklab(58.93% -0.072 -0.0181)
OKLCHoklch(58.93% 0.074 194.1)
XYZxyz(15.9325, 21.3887, 27.3286)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B8A #8B4041
analogous
#408B65 #408B8A #40678B
triadic
#408B8A #8A408B #8B8A40
tetradic
#408B8A #65408B #8B4041 #678B40
square
#408B8A #65408B #8B4041 #678B40
split-complementary
#408B8A #8B4067 #8B6540
monochromatic
#193737 #2D6160 #408B8A #57B2B0 #81C5C4

Accessibility & contrast

On white

3.98
#408B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#408B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B8A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B8A#FFFFFF#000000##000000
##408B8A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83858A
Deuteranopia (green-blind)
#777C8B
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #408b8a;
/* rgb */ color: rgb(64, 139, 138);
/* oklch */ color: oklch(58.9% 0.074 194.1);
Tailwind
colors: {
  custom: {
    50: '#7cadac',
    500: '#408b8a',
    950: '#000000',
  },
}
SCSS
$custom: #408b8a;
$custom-light: #7cadac;
$custom-dark: #000000;
JSON
{
  "hex": "#408b8a",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 138
  },
  "hsl": {
    "h": 179.2,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.07421,
    "h": 194.1
  },
  "luminance": 0.2139
}

Semantic roles & 50–950 ramp

primary
#408B8A
secondary
#AF7878
accent
#5B5CCD
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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