#56519C#56519C

#56519C is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.7% C 0.118 H 284.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#56519C
RGBrgb(86, 81, 156)
HSLhsl(244, 32%, 46%)
HSVhsv(244, 48%, 61%)
CMYKcmyk(44.9%, 48.1%, 0%, 38.8%)
CIE-LABlab(38.31, 22.05, -40.37)
CIE-LCHlch(38.31, 46.00, 298.65°)
OKLaboklab(47.69% 0.0285 -0.1144)
OKLCHoklch(47.69% 0.118 284)
XYZxyz(12.7792, 10.2630, 32.7537)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56519C #979C51
analogous
#51729C #56519C #7C519C
triadic
#56519C #9C5651 #519C56
tetradic
#56519C #9C5172 #979C51 #519C7C
square
#56519C #9C5172 #979C51 #519C7C
split-complementary
#56519C #9C7C51 #729C51
monochromatic
#2A274B #403C74 #56519C #7874B7 #9F9CCC

Accessibility & contrast

On white

6.88
#56519C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#56519C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56519C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56519C#FFFFFF#000000##FFFFFF
##56519C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335D9F
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#40616F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #56519c;
/* rgb */ color: rgb(86, 81, 156);
/* oklch */ color: oklch(47.7% 0.118 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a82ba',
    500: '#56519c',
    950: '#000000',
  },
}
SCSS
$custom: #56519c;
$custom-light: #8a82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#56519c",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 244,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.11795,
    "h": 284
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#56519C
secondary
#B6B890
accent
#C860C1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #56519C

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

Preview Lab → · Contrast checker → · Palette generator →

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