#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 |
|---|---|
| RGB | rgb(86, 81, 156) |
| HSL | hsl(244, 32%, 46%) |
| HSV | hsv(244, 48%, 61%) |
| CMYK | cmyk(44.9%, 48.1%, 0%, 38.8%) |
| CIE-LAB | lab(38.31, 22.05, -40.37) |
| CIE-LCH | lch(38.31, 46.00, 298.65°) |
| OKLab | oklab(47.69% 0.0285 -0.1144) |
| OKLCH | oklch(47.69% 0.118 284) |
| XYZ | xyz(12.7792, 10.2630, 32.7537) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.56
Blueberry
#464196
ΔE00 5.28
Dusk
#4E5481
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 6.65
Iris
#6258C4
ΔE00 6.81
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 |
|---|---|---|---|---|
| ##56519C | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.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