#56519E#56519E

#56519E is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.121 H 283.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#56519E
RGBrgb(86, 81, 158)
HSLhsl(244, 32%, 47%)
HSVhsv(244, 49%, 62%)
CMYKcmyk(45.6%, 48.7%, 0%, 38%)
CIE-LABlab(38.43, 22.67, -41.38)
CIE-LCHlch(38.43, 47.18, 298.72°)
OKLaboklab(47.82% 0.0288 -0.1174)
OKLCHoklch(47.82% 0.121 283.8)
XYZxyz(12.9499, 10.3313, 33.6529)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56519E #999E51
analogous
#51739E #56519E #7D519E
triadic
#56519E #9E5651 #519E56
tetradic
#56519E #9E5173 #999E51 #519E7D
square
#56519E #9E5173 #999E51 #519E7D
split-complementary
#56519E #9E7D51 #739E51
monochromatic
#2A284D #403C76 #56519E #7974B8 #A09DCD

Accessibility & contrast

On white

6.85
#56519E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#56519E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56519E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56519E#FFFFFF#000000##FFFFFF
##56519E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#3F6170
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #56519e;
/* rgb */ color: rgb(86, 81, 158);
/* oklch */ color: oklch(47.8% 0.121 283.8);
Tailwind
colors: {
  custom: {
    50: '#8a82bb',
    500: '#56519e',
    950: '#000000',
  },
}
SCSS
$custom: #56519e;
$custom-light: #8a82bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56519e",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 243.896,
    "s": 32.218,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.12088,
    "h": 283.8
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#56519E
secondary
#B7BA91
accent
#C85FC2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #56519E

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

Preview Lab → · Contrast checker → · Palette generator →

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