#408B78#408B78

#408B78 is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.3% C 0.081 H 174.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#408B78
RGBrgb(64, 139, 120)
HSLhsl(165, 37%, 40%)
HSVhsv(165, 54%, 55%)
CMYKcmyk(54%, 0%, 13.7%, 45.5%)
CIE-LABlab(52.85, -28.17, 3.11)
CIE-LCHlch(52.85, 28.34, 173.70°)
OKLaboklab(58.34% -0.0804 0.0078)
OKLCHoklch(58.34% 0.081 174.5)
XYZxyz(14.7356, 20.9100, 21.0251)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B78 #8B4053
analogous
#408B53 #408B78 #40798B
triadic
#408B78 #78408B #8B7840
tetradic
#408B78 #53408B #8B4053 #798B40
square
#408B78 #53408B #8B4053 #798B40
split-complementary
#408B78 #8B4079 #8B5340
monochromatic
#193730 #2D6154 #408B78 #57B29B #81C5B4

Accessibility & contrast

On white

4.05
#408B78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#408B78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B78
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B78#FFFFFF#000000##000000
##408B781.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878377
Deuteranopia (green-blind)
#7B7B79
Tritanopia (blue-blind)
#1B8C85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408b78;
/* rgb */ color: rgb(64, 139, 120);
/* oklch */ color: oklch(58.3% 0.081 174.5);
Tailwind
colors: {
  custom: {
    50: '#7bad9e',
    500: '#408b78',
    950: '#000000',
  },
}
SCSS
$custom: #408b78;
$custom-light: #7bad9e;
$custom-dark: #000000;
JSON
{
  "hex": "#408b78",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 120
  },
  "hsl": {
    "h": 164.8,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58335,
    "c": 0.08078,
    "h": 174.5
  },
  "luminance": 0.20911
}

Semantic roles & 50–950 ramp

primary
#408B78
secondary
#AF7886
accent
#5B78CD
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #408B78

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

Preview Lab → · Contrast checker → · Palette generator →

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