#5B4BB3#5B4BB3
#5B4BB3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.159 H 285.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4BB3 |
|---|---|
| RGB | rgb(91, 75, 179) |
| HSL | hsl(249, 41%, 50%) |
| HSV | hsv(249, 58%, 70%) |
| CMYK | cmyk(49.2%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(38.74, 34.03, -53.34) |
| CIE-LCH | lch(38.74, 63.27, 302.53°) |
| OKLab | oklab(48.6% 0.0435 -0.1524) |
| OKLCH | oklch(48.6% 0.159 285.9) |
| XYZ | xyz(14.9647, 10.5103, 43.8793) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.08
Bluey Purple
#6241C7
ΔE00 4.20
Iris
#6258C4
ΔE00 4.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.93
Blurple
#5539CC
ΔE00 5.80
Blueberry
#464196
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4BB3 #A3B34B
analogous
#4B6FB3 #5B4BB3 #8F4BB3
triadic
#5B4BB3 #B35B4B #4BB35B
tetradic
#5B4BB3 #B34B6F #A3B34B #4BB38F
square
#5B4BB3 #B34B6F #A3B34B #4BB38F
split-complementary
#5B4BB3 #B38F4B #6FB34B
monochromatic
#2F275D #453988 #5B4BB3 #8276C5 #A9A1D8
Accessibility & contrast
On white
6.77
#5B4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#5B4BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4BB3
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4BB3 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#3C6377
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5b4bb3; /* rgb */ color: rgb(91, 75, 179); /* oklch */ color: oklch(48.6% 0.159 285.9);
Tailwind
colors: {
custom: {
50: '#907eca',
500: '#5b4bb3',
950: '#000000',
},
}SCSS
$custom: #5b4bb3; $custom-light: #907eca; $custom-dark: #000000;
JSON
{
"hex": "#5b4bb3",
"rgb": {
"r": 91,
"g": 75,
"b": 179
},
"hsl": {
"h": 249.231,
"s": 40.945,
"l": 49.804
},
"oklch": {
"l": 0.486,
"c": 0.15854,
"h": 285.9
},
"luminance": 0.10511
}Semantic roles & 50–950 ramp
primary
#5B4BB3
secondary
#BDC495
accent
#D157BE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82