#5B4BB7#5B4BB7
#5B4BB7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.164 H 285.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4BB7 |
|---|---|
| RGB | rgb(91, 75, 183) |
| HSL | hsl(249, 43%, 51%) |
| HSV | hsv(249, 59%, 72%) |
| CMYK | cmyk(50.3%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(39.03, 35.25, -55.24) |
| CIE-LCH | lch(39.03, 65.53, 302.54°) |
| OKLab | oklab(48.9% 0.0434 -0.158) |
| OKLCH | oklch(48.9% 0.164 285.4) |
| XYZ | xyz(15.3752, 10.6744, 46.0408) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.01
Bluey Purple
#6241C7
ΔE00 3.78
Iris
#6258C4
ΔE00 4.33
Blue With A Hint Of Purple
#533CC6
ΔE00 4.58
Blurple
#5539CC
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4BB7 #A7B74B
analogous
#4B71B7 #5B4BB7 #914BB7
triadic
#5B4BB7 #B75B4B #4BB75B
tetradic
#5B4BB7 #B74B71 #A7B74B #4BB791
square
#5B4BB7 #B74B71 #A7B74B #4BB791
split-complementary
#5B4BB7 #B7914B #71B74B
monochromatic
#2F2761 #45388D #5B4BB7 #8377C8 #ABA2DA
Accessibility & contrast
On white
6.70
#5B4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#5B4BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4BB7
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4BB7 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#39647A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5b4bb7; /* rgb */ color: rgb(91, 75, 183); /* oklch */ color: oklch(48.9% 0.164 285.4);
Tailwind
colors: {
custom: {
50: '#917ecd',
500: '#5b4bb7',
950: '#000000',
},
}SCSS
$custom: #5b4bb7; $custom-light: #917ecd; $custom-dark: #000000;
JSON
{
"hex": "#5b4bb7",
"rgb": {
"r": 91,
"g": 75,
"b": 183
},
"hsl": {
"h": 248.889,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.48899,
"c": 0.16389,
"h": 285.4
},
"luminance": 0.10675
}Semantic roles & 50–950 ramp
primary
#5B4BB7
secondary
#C0C797
accent
#D355C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82