#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 |
|---|---|
| RGB | rgb(86, 81, 159) |
| HSL | hsl(244, 33%, 47%) |
| HSV | hsv(244, 49%, 62%) |
| CMYK | cmyk(45.9%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(38.49, 22.98, -41.88) |
| CIE-LCH | lch(38.49, 47.77, 298.75°) |
| OKLab | oklab(47.89% 0.0289 -0.1189) |
| OKLCH | oklch(47.89% 0.122 283.7) |
| XYZ | xyz(13.0364, 10.3659, 34.1081) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.04
Blueberry
#464196
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 6.22
Iris
#6258C4
ΔE00 6.33
Dusk
#4E5481
ΔE00 6.51
Darkslateblue
#483D8B
ΔE00 6.53
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 |
|---|---|---|---|---|
| ##56519F | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.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