#56519D#56519D
#56519D is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.8% C 0.119 H 283.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #56519D |
|---|---|
| RGB | rgb(86, 81, 157) |
| HSL | hsl(244, 32%, 47%) |
| HSV | hsv(244, 48%, 62%) |
| CMYK | cmyk(45.2%, 48.4%, 0%, 38.4%) |
| CIE-LAB | lab(38.37, 22.36, -40.87) |
| CIE-LCH | lch(38.37, 46.59, 298.68°) |
| OKLab | oklab(47.76% 0.0287 -0.1159) |
| OKLCH | oklch(47.76% 0.119 283.9) |
| XYZ | xyz(12.8642, 10.2971, 33.2015) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.72
Blueberry
#464196
ΔE00 5.26
Dusk
#4E5481
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 6.50
Iris
#6258C4
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56519D #989D51
analogous
#51729D #56519D #7C519D
triadic
#56519D #9D5651 #519D56
tetradic
#56519D #9D5172 #989D51 #519D7C
square
#56519D #9D5172 #989D51 #519D7C
split-complementary
#56519D #9D7C51 #729D51
monochromatic
#2A274C #403C75 #56519D #7874B7 #9F9CCC
Accessibility & contrast
On white
6.86
#56519D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#56519D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #56519D
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56519D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56519D | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#3F616F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #56519d; /* rgb */ color: rgb(86, 81, 157); /* oklch */ color: oklch(47.8% 0.119 283.9);
Tailwind
colors: {
custom: {
50: '#8a82ba',
500: '#56519d',
950: '#000000',
},
}SCSS
$custom: #56519d; $custom-light: #8a82ba; $custom-dark: #000000;
JSON
{
"hex": "#56519d",
"rgb": {
"r": 86,
"g": 81,
"b": 157
},
"hsl": {
"h": 243.947,
"s": 31.933,
"l": 46.667
},
"oklch": {
"l": 0.47757,
"c": 0.11941,
"h": 283.9
},
"luminance": 0.10298
}Semantic roles & 50–950 ramp
primary
#56519D
secondary
#B6B991
accent
#C860C1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81