#56518E#56518E
#56518E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.097 H 285.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #56518E |
|---|---|
| RGB | rgb(86, 81, 142) |
| HSL | hsl(245, 27%, 44%) |
| HSV | hsv(245, 43%, 56%) |
| CMYK | cmyk(39.4%, 43%, 0%, 44.3%) |
| CIE-LAB | lab(37.51, 17.80, -33.18) |
| CIE-LCH | lch(37.51, 37.66, 298.21°) |
| OKLab | oklab(46.83% 0.0263 -0.0934) |
| OKLCH | oklch(46.83% 0.097 285.7) |
| XYZ | xyz(11.6613, 9.8159, 26.8662) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.06
Dusk
#4E5481
ΔE00 4.00
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.62
Dusky Blue
#475F94
ΔE00 7.85
Royal Purple
#7851A9
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56518E #898E51
analogous
#516A8E #56518E #74518E
triadic
#56518E #8E5651 #518E56
tetradic
#56518E #8E516A #898E51 #518E74
square
#56518E #8E516A #898E51 #518E74
split-complementary
#56518E #8E7451 #6A8E51
monochromatic
#272540 #3E3B67 #56518E #746FAD #9A96C3
Accessibility & contrast
On white
7.09
#56518E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#56518E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56518E
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56518E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56518E | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#475D68
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #56518e; /* rgb */ color: rgb(86, 81, 142); /* oklch */ color: oklch(46.8% 0.097 285.7);
Tailwind
colors: {
custom: {
50: '#8881af',
500: '#56518e',
950: '#000000',
},
}SCSS
$custom: #56518e; $custom-light: #8881af; $custom-dark: #000000;
JSON
{
"hex": "#56518e",
"rgb": {
"r": 86,
"g": 81,
"b": 142
},
"hsl": {
"h": 244.918,
"s": 27.354,
"l": 43.725
},
"oklch": {
"l": 0.46825,
"c": 0.09707,
"h": 285.7
},
"luminance": 0.09816
}Semantic roles & 50–950 ramp
primary
#56518E
secondary
#ADB08B
accent
#C464BC
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F