#408071#408071

#408071 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.3% C 0.071 H 176.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#408071
RGBrgb(64, 128, 113)
HSLhsl(166, 33%, 38%)
HSVhsv(166, 50%, 50%)
CMYKcmyk(50%, 0%, 11.7%, 49.8%)
CIE-LABlab(49.15, -24.46, 1.83)
CIE-LCHlch(49.15, 24.53, 175.72°)
OKLaboklab(55.28% -0.0704 0.0045)
OKLCHoklch(55.28% 0.071 176.4)
XYZxyz(12.8129, 17.7195, 18.3646)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408071 #80404F
analogous
#408051 #408071 #406F80
triadic
#408071 #714080 #807140
tetradic
#408071 #514080 #80404F #6F8040
square
#408071 #514080 #80404F #6F8040
split-complementary
#408071 #80406F #805140
monochromatic
#172E29 #2C574D #408071 #54A995 #7DBEAF

Accessibility & contrast

On white

4.62
#408071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#408071 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408071
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408071#FFFFFF#000000##FFFFFF
##4080711.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7970
Deuteranopia (green-blind)
#727272
Tritanopia (blue-blind)
#25817B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408071;
/* rgb */ color: rgb(64, 128, 113);
/* oklch */ color: oklch(55.3% 0.071 176.4);
Tailwind
colors: {
  custom: {
    50: '#7aa599',
    500: '#408071',
    950: '#000000',
  },
}
SCSS
$custom: #408071;
$custom-light: #7aa599;
$custom-dark: #000000;
JSON
{
  "hex": "#408071",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 113
  },
  "hsl": {
    "h": 165.938,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.07052,
    "h": 176.4
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#408071
secondary
#A87480
accent
#5E77C9
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #408071

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

Preview Lab → · Contrast checker → · Palette generator →

#408071 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva