#40586D#40586D

#40586D is a dark, muted cyan. Relative luminance 0.092; OKLCH L 45.0% C 0.045 H 245.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#40586D
RGBrgb(64, 88, 109)
HSLhsl(208, 26%, 34%)
HSVhsv(208, 41%, 43%)
CMYKcmyk(41.3%, 19.3%, 0%, 57.3%)
CIE-LABlab(36.32, -3.11, -14.89)
CIE-LCHlch(36.32, 15.21, 258.22°)
OKLaboklab(44.96% -0.0188 -0.0411)
OKLCHoklch(44.96% 0.045 245.4)
XYZxyz(8.3635, 9.1731, 15.7949)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40586D #6D5540
analogous
#406D6C #40586D #40426D
triadic
#40586D #6D4058 #586D40
tetradic
#40586D #6C406D #6D5540 #426D40
square
#40586D #6C406D #6D5540 #426D40
split-complementary
#40586D #6D4042 #6D6C40
monochromatic
#131A20 #293946 #40586D #577794 #7896B0

Accessibility & contrast

On white

7.41
#40586D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#40586D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40586D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40586D#FFFFFF#000000##FFFFFF
##40586D1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586E
Deuteranopia (green-blind)
#4A536D
Tritanopia (blue-blind)
#305D5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #40586d;
/* rgb */ color: rgb(64, 88, 109);
/* oklch */ color: oklch(45.0% 0.045 245.4);
Tailwind
colors: {
  custom: {
    50: '#778797',
    500: '#40586d',
    950: '#000000',
  },
}
SCSS
$custom: #40586d;
$custom-light: #778797;
$custom-dark: #000000;
JSON
{
  "hex": "#40586d",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 109
  },
  "hsl": {
    "h": 208,
    "s": 26.012,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.04524,
    "h": 245.4
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#40586D
secondary
#9B836E
accent
#9165C2
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0D
muted
#7B7C7E

Preview Lab

Preview with #40586D

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

Preview Lab → · Contrast checker → · Palette generator →

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