#5B4BBF#5B4BBF
#5B4BBF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.174 H 284.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4BBF |
|---|---|
| RGB | rgb(91, 75, 191) |
| HSL | hsl(248, 48%, 52%) |
| HSV | hsv(248, 61%, 75%) |
| CMYK | cmyk(52.4%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(39.61, 37.71, -58.99) |
| CIE-LCH | lch(39.61, 70.01, 302.59°) |
| OKLab | oklab(49.51% 0.0431 -0.169) |
| OKLCH | oklch(49.51% 0.174 284.3) |
| XYZ | xyz(16.2316, 11.0170, 50.5513) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.17
Ocean Blue
#4F42B5
ΔE00 3.27
Iris
#6258C4
ΔE00 3.97
Blue With A Hint Of Purple
#533CC6
ΔE00 4.11
Blurple
#5539CC
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4BBF #AFBF4B
analogous
#4B75BF #5B4BBF #954BBF
triadic
#5B4BBF #BF5B4B #4BBF5B
tetradic
#5B4BBF #BF4B75 #AFBF4B #4BBF95
square
#5B4BBF #BF4B75 #AFBF4B #4BBF95
split-complementary
#5B4BBF #BF954B #75BF4B
monochromatic
#2F266A #433697 #5B4BBF #8478CF #ADA5DF
Accessibility & contrast
On white
6.56
#5B4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#5B4BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4BBF
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4BBF | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#33667E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5b4bbf; /* rgb */ color: rgb(91, 75, 191); /* oklch */ color: oklch(49.5% 0.174 284.3);
Tailwind
colors: {
custom: {
50: '#927ed3',
500: '#5b4bbf',
950: '#000000',
},
}SCSS
$custom: #5b4bbf; $custom-light: #927ed3; $custom-dark: #000000;
JSON
{
"hex": "#5b4bbf",
"rgb": {
"r": 91,
"g": 75,
"b": 191
},
"hsl": {
"h": 248.276,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.49511,
"c": 0.17447,
"h": 284.3
},
"luminance": 0.11018
}Semantic roles & 50–950 ramp
primary
#5B4BBF
secondary
#C5CC9A
accent
#D751C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83