#56519F#56519F

#56519F is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.122 H 283.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#56519F
RGBrgb(86, 81, 159)
HSLhsl(244, 33%, 47%)
HSVhsv(244, 49%, 62%)
CMYKcmyk(45.9%, 49.1%, 0%, 37.6%)
CIE-LABlab(38.49, 22.98, -41.88)
CIE-LCHlch(38.49, 47.77, 298.75°)
OKLaboklab(47.89% 0.0289 -0.1189)
OKLCHoklch(47.89% 0.122 283.7)
XYZxyz(13.0364, 10.3659, 34.1081)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56519F #9A9F51
analogous
#51739F #56519F #7D519F
triadic
#56519F #9F5651 #519F56
tetradic
#56519F #9F5173 #9A9F51 #519F7D
square
#56519F #9F5173 #9A9F51 #519F7D
split-complementary
#56519F #9F7D51 #739F51
monochromatic
#2A284E #403C76 #56519F #7975B9 #A09DCD

Accessibility & contrast

On white

6.83
#56519F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56519F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56519F#FFFFFF#000000##FFFFFF
##56519F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#3E6170
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #56519f;
/* rgb */ color: rgb(86, 81, 159);
/* oklch */ color: oklch(47.9% 0.122 283.7);
Tailwind
colors: {
  custom: {
    50: '#8a82bc',
    500: '#56519f',
    950: '#000000',
  },
}
SCSS
$custom: #56519f;
$custom-light: #8a82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56519f",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 243.846,
    "s": 32.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.12233,
    "h": 283.7
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#56519F
secondary
#B8BA92
accent
#C95FC2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #56519F

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

Preview Lab → · Contrast checker → · Palette generator →

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