#40717C#40717C

#40717C is a mid, muted cyan. Relative luminance 0.144; OKLCH L 51.8% C 0.056 H 213.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#40717C
RGBrgb(64, 113, 124)
HSLhsl(191, 32%, 37%)
HSVhsv(191, 48%, 49%)
CMYKcmyk(48.4%, 8.9%, 0%, 51.4%)
CIE-LABlab(44.74, -13.38, -11.24)
CIE-LCHlch(44.74, 17.48, 220.02°)
OKLaboklab(51.84% -0.0463 -0.031)
OKLCHoklch(51.84% 0.056 213.8)
XYZxyz(11.6562, 14.3546, 21.2213)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40717C #7C4B40
analogous
#407C69 #40717C #40537C
triadic
#40717C #7C4071 #717C40
tetradic
#40717C #69407C #7C4B40 #537C40
square
#40717C #69407C #7C4B40 #537C40
split-complementary
#40717C #7C4053 #7C6940
monochromatic
#16272B #2B4C54 #40717C #5596A4 #7BAFBB

Accessibility & contrast

On white

5.42
#40717C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#40717C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40717C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40717C#FFFFFF#000000##FFFFFF
##40717C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696E7D
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#227574
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #40717c;
/* rgb */ color: rgb(64, 113, 124);
/* oklch */ color: oklch(51.8% 0.056 213.8);
Tailwind
colors: {
  custom: {
    50: '#799aa1',
    500: '#40717c',
    950: '#000000',
  },
}
SCSS
$custom: #40717c;
$custom-light: #799aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#40717c",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 124
  },
  "hsl": {
    "h": 191,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.05573,
    "h": 213.8
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#40717C
secondary
#A67C72
accent
#7360C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0F
muted
#7B7E7E

Preview Lab

Preview with #40717C

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

Preview Lab → · Contrast checker → · Palette generator →

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