#56517D#56517D

#56517D is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.071 H 288.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#56517D
RGBrgb(86, 81, 125)
HSLhsl(247, 21%, 40%)
HSVhsv(247, 35%, 49%)
CMYKcmyk(31.2%, 35.2%, 0%, 51%)
CIE-LABlab(36.64, 12.88, -24.15)
CIE-LCHlch(36.64, 27.37, 298.07°)
OKLaboklab(45.87% 0.0225 -0.0672)
OKLCHoklch(45.87% 0.071 288.5)
XYZxyz(10.4809, 9.3437, 20.6494)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56517D #787D51
analogous
#51627D #56517D #6C517D
triadic
#56517D #7D5651 #517D56
tetradic
#56517D #7D5162 #787D51 #517D6C
square
#56517D #7D5162 #787D51 #517D6C
split-complementary
#56517D #7D6C51 #627D51
monochromatic
#232133 #3C3958 #56517D #726CA0 #9591B8

Accessibility & contrast

On white

7.32
#56517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#56517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56517D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56517D#FFFFFF#000000##FFFFFF
##56517D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577F
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#4D5961
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #56517d;
/* rgb */ color: rgb(86, 81, 125);
/* oklch */ color: oklch(45.9% 0.071 288.5);
Tailwind
colors: {
  custom: {
    50: '#8781a3',
    500: '#56517d',
    950: '#000000',
  },
}
SCSS
$custom: #56517d;
$custom-light: #8781a3;
$custom-dark: #000000;
JSON
{
  "hex": "#56517d",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 246.818,
    "s": 21.359,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.07089,
    "h": 288.5
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#56517D
secondary
#A1A585
accent
#BE6AB4
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #56517D

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

Preview Lab → · Contrast checker → · Palette generator →

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