#40516A#40516A

#40516A is a dark, muted blue. Relative luminance 0.080; OKLCH L 43.1% C 0.047 H 257.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#40516A
RGBrgb(64, 81, 106)
HSLhsl(216, 25%, 33%)
HSVhsv(216, 40%, 42%)
CMYKcmyk(39.6%, 23.6%, 0%, 58.4%)
CIE-LABlab(34.01, 0.37, -16.55)
CIE-LCHlch(34.01, 16.55, 271.28°)
OKLaboklab(43.11% -0.0098 -0.0458)
OKLCHoklch(43.11% 0.047 257.9)
XYZxyz(7.6575, 8.0151, 14.7765)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40516A #6A5940
analogous
#40666A #40516A #44406A
triadic
#40516A #6A4051 #516A40
tetradic
#40516A #6A4066 #6A5940 #406A44
square
#40516A #6A4066 #6A5940 #406A44
split-complementary
#40516A #6A4440 #666A40
monochromatic
#12171E #293444 #40516A #576E90 #778DAD

Accessibility & contrast

On white

8.07
#40516A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#40516A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40516A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40516A#FFFFFF#000000##FFFFFF
##40516A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48526B
Deuteranopia (green-blind)
#434E69
Tritanopia (blue-blind)
#325659
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #40516a;
/* rgb */ color: rgb(64, 81, 106);
/* oklch */ color: oklch(43.1% 0.047 257.9);
Tailwind
colors: {
  custom: {
    50: '#768194',
    500: '#40516a',
    950: '#000000',
  },
}
SCSS
$custom: #40516a;
$custom-light: #768194;
$custom-dark: #000000;
JSON
{
  "hex": "#40516a",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 106
  },
  "hsl": {
    "h": 215.714,
    "s": 24.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.04688,
    "h": 257.9
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#40516A
secondary
#98876D
accent
#9D67C1
background
#F7F7F9
surface
#EDEEF1
border
#C8C9CB
text
#080A0D
muted
#7B7C7E

Preview Lab

Preview with #40516A

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

Preview Lab → · Contrast checker → · Palette generator →

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