#407A71#407A71

#407A71 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.7% C 0.063 H 182.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407A71
RGBrgb(64, 122, 113)
HSLhsl(171, 31%, 36%)
HSVhsv(171, 48%, 48%)
CMYKcmyk(47.5%, 0%, 7.4%, 52.2%)
CIE-LABlab(47.24, -21.37, -0.96)
CIE-LCHlch(47.24, 21.39, 182.58°)
OKLaboklab(53.73% -0.0628 -0.0029)
OKLCHoklch(53.73% 0.063 182.7)
XYZxyz(12.0533, 16.2003, 18.1114)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A71 #7A4049
analogous
#407A54 #407A71 #40667A
triadic
#407A71 #71407A #7A7140
tetradic
#407A71 #54407A #7A4049 #667A40
square
#407A71 #54407A #7A4049 #667A40
split-complementary
#407A71 #7A4066 #7A5440
monochromatic
#162A27 #2B524C #407A71 #55A296 #7BBAB0

Accessibility & contrast

On white

4.95
#407A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#407A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A71
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A71#FFFFFF#000000##FFFFFF
##407A711.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#6C6D72
Tritanopia (blue-blind)
#277C77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407a71;
/* rgb */ color: rgb(64, 122, 113);
/* oklch */ color: oklch(53.7% 0.063 182.7);
Tailwind
colors: {
  custom: {
    50: '#79a099',
    500: '#407a71',
    950: '#000000',
  },
}
SCSS
$custom: #407a71;
$custom-light: #79a099;
$custom-dark: #000000;
JSON
{
  "hex": "#407a71",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 170.69,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.06291,
    "h": 182.7
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#407A71
secondary
#A47279
accent
#6070C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090F0E
muted
#7B7E7E

Preview Lab

Preview with #407A71

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

Preview Lab → · Contrast checker → · Palette generator →

#407A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva