#56517C#56517C

#56517C is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.8% C 0.069 H 288.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#56517C
RGBrgb(86, 81, 124)
HSLhsl(247, 21%, 40%)
HSVhsv(247, 35%, 49%)
CMYKcmyk(30.6%, 34.7%, 0%, 51.4%)
CIE-LABlab(36.59, 12.60, -23.61)
CIE-LCHlch(36.59, 26.76, 298.09°)
OKLaboklab(45.82% 0.0222 -0.0657)
OKLCHoklch(45.82% 0.069 288.7)
XYZxyz(10.4173, 9.3183, 20.3146)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56517C #777C51
analogous
#51617C #56517C #6C517C
triadic
#56517C #7C5651 #517C56
tetradic
#56517C #7C5161 #777C51 #517C6C
square
#56517C #7C5161 #777C51 #517C6C
split-complementary
#56517C #7C6C51 #617C51
monochromatic
#232132 #3C3957 #56517C #716C9F #9591B7

Accessibility & contrast

On white

7.33
#56517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#56517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56517C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56517C#FFFFFF#000000##FFFFFF
##56517C1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#4D5961
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #56517c;
/* rgb */ color: rgb(86, 81, 124);
/* oklch */ color: oklch(45.8% 0.069 288.7);
Tailwind
colors: {
  custom: {
    50: '#8781a2',
    500: '#56517c',
    950: '#000000',
  },
}
SCSS
$custom: #56517c;
$custom-light: #8781a2;
$custom-dark: #000000;
JSON
{
  "hex": "#56517c",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 246.977,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.06932,
    "h": 288.7
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56517C

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

Preview Lab → · Contrast checker → · Palette generator →

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