#40717D#40717D

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

Color values

HEX#40717D
RGBrgb(64, 113, 125)
HSLhsl(192, 32%, 37%)
HSVhsv(192, 49%, 49%)
CMYKcmyk(48.8%, 9.6%, 0%, 51%)
CIE-LABlab(44.77, -13.09, -11.78)
CIE-LCHlch(44.77, 17.61, 222.00°)
OKLaboklab(51.88% -0.0459 -0.0325)
OKLCHoklch(51.88% 0.056 215.3)
XYZxyz(11.7198, 14.3800, 21.5561)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40717D #7D4C40
analogous
#407D6B #40717D #40537D
triadic
#40717D #7D4071 #717D40
tetradic
#40717D #6B407D #7D4C40 #537D40
square
#40717D #6B407D #7D4C40 #537D40
split-complementary
#40717D #7D4053 #7D6B40
monochromatic
#17282C #2B4C55 #40717D #5596A5 #7CAFBC

Accessibility & contrast

On white

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

On black

3.88
#40717D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40717D#FFFFFF#000000##FFFFFF
##40717D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#5F677D
Tritanopia (blue-blind)
#217675
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #40717d;
/* rgb */ color: rgb(64, 113, 125);
/* oklch */ color: oklch(51.9% 0.056 215.3);
Tailwind
colors: {
  custom: {
    50: '#799aa2',
    500: '#40717d',
    950: '#000000',
  },
}
SCSS
$custom: #40717d;
$custom-light: #799aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#40717d",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 125
  },
  "hsl": {
    "h": 191.803,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.51879,
    "c": 0.05624,
    "h": 215.3
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#40717D
secondary
#A67D73
accent
#745FC8
background
#F7F9FA
surface
#EEF2F3
border
#C9CCCD
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #40717D

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

Preview Lab → · Contrast checker → · Palette generator →

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