#408F7C#408F7C

#408F7C is a mid, moderate teal. Relative luminance 0.222; OKLCH L 59.5% C 0.084 H 175.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#408F7C
RGBrgb(64, 143, 124)
HSLhsl(166, 38%, 41%)
HSVhsv(166, 55%, 56%)
CMYKcmyk(55.2%, 0%, 13.3%, 43.9%)
CIE-LABlab(54.23, -29.10, 2.79)
CIE-LCHlch(54.23, 29.23, 174.52°)
OKLaboklab(59.49% -0.0832 0.007)
OKLCHoklch(59.49% 0.084 175.2)
XYZxyz(15.5733, 22.1887, 22.5270)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F7C #8F4053
analogous
#408F55 #408F7C #407A8F
triadic
#408F7C #7C408F #8F7C40
tetradic
#408F7C #55408F #8F4053 #7A8F40
square
#408F7C #55408F #8F4053 #7A8F40
split-complementary
#408F7C #8F407A #8F5540
monochromatic
#1A3A33 #2D6557 #408F7C #58B49E #82C7B7

Accessibility & contrast

On white

3.86
#408F7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#408F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F7C
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F7C#FFFFFF#000000##000000
##408F7C1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877B
Deuteranopia (green-blind)
#7E7E7D
Tritanopia (blue-blind)
#159189
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408f7c;
/* rgb */ color: rgb(64, 143, 124);
/* oklch */ color: oklch(59.5% 0.084 175.2);
Tailwind
colors: {
  custom: {
    50: '#7cb0a1',
    500: '#408f7c',
    950: '#000000',
  },
}
SCSS
$custom: #408f7c;
$custom-light: #7cb0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#408f7c",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 124
  },
  "hsl": {
    "h": 165.57,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.0835,
    "h": 175.2
  },
  "luminance": 0.2219
}

Semantic roles & 50–950 ramp

primary
#408F7C
secondary
#B27987
accent
#5A76CE
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#0A100F
muted
#7C7F7E

Preview Lab

Preview with #408F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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