#5B4CD6#5B4CD6
#5B4CD6 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.203 H 281.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4CD6 |
|---|---|
| RGB | rgb(91, 76, 214) |
| HSL | hsl(247, 63%, 57%) |
| HSV | hsv(247, 64%, 84%) |
| CMYK | cmyk(57.5%, 64.5%, 0%, 16.1%) |
| CIE-LAB | lab(41.61, 44.22, -69.05) |
| CIE-LCH | lch(41.61, 82.00, 302.63°) |
| OKLab | oklab(51.52% 0.0404 -0.1986) |
| OKLCH | oklch(51.52% 0.203 281.5) |
| XYZ | xyz(19.0326, 12.2468, 64.9662) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.86
Purpleish Blue
#6140EF
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 4.22
Iris
#6258C4
ΔE00 4.28
Slate Blue
#6A5ACD
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4CD6 #C7D64C
analogous
#4C82D6 #5B4CD6 #A04CD6
triadic
#5B4CD6 #D65B4C #4CD65B
tetradic
#5B4CD6 #D64C82 #C7D64C #4CD6A0
square
#5B4CD6 #D64C82 #C7D64C #4CD6A0
split-complementary
#5B4CD6 #D6A04C #82D64C
monochromatic
#2B1F88 #3A2BBA #5B4CD6 #897EE1 #B6B0ED
Accessibility & contrast
On white
6.09
#5B4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5B4CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4CD6
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4CD6 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#116F8A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b4cd6; /* rgb */ color: rgb(91, 76, 214); /* oklch */ color: oklch(51.5% 0.203 281.5);
Tailwind
colors: {
custom: {
50: '#957fe4',
500: '#5b4cd6',
950: '#000000',
},
}SCSS
$custom: #5b4cd6; $custom-light: #957fe4; $custom-dark: #000000;
JSON
{
"hex": "#5b4cd6",
"rgb": {
"r": 91,
"g": 76,
"b": 214
},
"hsl": {
"h": 246.522,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.51522,
"c": 0.2027,
"h": 281.5
},
"luminance": 0.12248
}Semantic roles & 50–950 ramp
primary
#5B4CD6
secondary
#D5DBA3
accent
#E642D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84