#40586B#40586B

#40586B is a dark, muted cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.043 H 242.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#40586B
RGBrgb(64, 88, 107)
HSLhsl(207, 25%, 34%)
HSVhsv(207, 40%, 42%)
CMYKcmyk(40.2%, 17.8%, 0%, 58%)
CIE-LABlab(36.23, -3.70, -13.77)
CIE-LCHlch(36.23, 14.26, 254.95°)
OKLaboklab(44.87% -0.0196 -0.038)
OKLCHoklch(44.87% 0.043 242.7)
XYZxyz(8.2571, 9.1305, 15.2343)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40586B #6B5340
analogous
#406B68 #40586B #40426B
triadic
#40586B #6B4058 #586B40
tetradic
#40586B #68406B #6B5340 #426B40
square
#40586B #68406B #6B5340 #426B40
split-complementary
#40586B #6B4042 #6B6840
monochromatic
#12191E #293945 #40586B #577791 #7796AE

Accessibility & contrast

On white

7.43
#40586B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40586B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40586B#FFFFFF#000000##FFFFFF
##40586B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#4A536B
Tritanopia (blue-blind)
#315D5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #40586b;
/* rgb */ color: rgb(64, 88, 107);
/* oklch */ color: oklch(44.9% 0.043 242.7);
Tailwind
colors: {
  custom: {
    50: '#768795',
    500: '#40586b',
    950: '#000000',
  },
}
SCSS
$custom: #40586b;
$custom-light: #768795;
$custom-dark: #000000;
JSON
{
  "hex": "#40586b",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 107
  },
  "hsl": {
    "h": 206.512,
    "s": 25.146,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.04274,
    "h": 242.7
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#40586B
secondary
#99816E
accent
#8F66C2
background
#F7F8F9
surface
#EDEFF1
border
#C8CACB
text
#090B0D
muted
#7B7C7E

Preview Lab

Preview with #40586B

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

Preview Lab → · Contrast checker → · Palette generator →

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