#40717A#40717A

#40717A is a mid, muted teal. Relative luminance 0.143; OKLCH L 51.8% C 0.055 H 210.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#40717A
RGBrgb(64, 113, 122)
HSLhsl(189, 31%, 36%)
HSVhsv(189, 48%, 48%)
CMYKcmyk(47.5%, 7.4%, 0%, 52.2%)
CIE-LABlab(44.67, -13.97, -10.15)
CIE-LCHlch(44.67, 17.27, 215.99°)
OKLaboklab(51.76% -0.0472 -0.0279)
OKLCHoklch(51.76% 0.055 210.6)
XYZxyz(11.5310, 14.3045, 20.5620)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40717A #7A4940
analogous
#407A66 #40717A #40547A
triadic
#40717A #7A4071 #717A40
tetradic
#40717A #66407A #7A4940 #547A40
square
#40717A #66407A #7A4940 #547A40
split-complementary
#40717A #7A4054 #7A6640
monochromatic
#16272A #2B4C52 #40717A #5596A2 #7BB0BA

Accessibility & contrast

On white

5.44
#40717A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#40717A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40717A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40717A#FFFFFF#000000##FFFFFF
##40717A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696E7B
Deuteranopia (green-blind)
#60677A
Tritanopia (blue-blind)
#237574
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #40717a;
/* rgb */ color: rgb(64, 113, 122);
/* oklch */ color: oklch(51.8% 0.055 210.6);
Tailwind
colors: {
  custom: {
    50: '#799aa0',
    500: '#40717a',
    950: '#000000',
  },
}
SCSS
$custom: #40717a;
$custom-light: #799aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#40717a",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 122
  },
  "hsl": {
    "h": 189.31,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.05485,
    "h": 210.6
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#40717A
secondary
#A47972
accent
#7060C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #40717A

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

Preview Lab → · Contrast checker → · Palette generator →

#40717A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva