#5B4BDD#5B4BDD
#5B4BDD is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.213 H 281.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4BDD |
|---|---|
| RGB | rgb(91, 75, 221) |
| HSL | hsl(247, 68%, 58%) |
| HSV | hsv(247, 66%, 87%) |
| CMYK | cmyk(58.8%, 66.1%, 0%, 13.3%) |
| CIE-LAB | lab(41.96, 46.95, -72.48) |
| CIE-LCH | lch(41.96, 86.36, 302.94°) |
| OKLab | oklab(51.96% 0.0405 -0.2087) |
| OKLCH | oklch(51.96% 0.213 281) |
| XYZ | xyz(19.8775, 12.4754, 69.7531) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.23
Bluey Purple
#6241C7
ΔE00 4.25
Warm Blue
#4B57DB
ΔE00 4.35
Bluish Purple
#703BE7
ΔE00 4.62
Purpley Blue
#5F34E7
ΔE00 4.96
Iris
#6258C4
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4BDD #CDDD4B
analogous
#4B84DD #5B4BDD #A44BDD
triadic
#5B4BDD #DD5B4B #4BDD5B
tetradic
#5B4BDD #DD4B84 #CDDD4B #4BDDA4
square
#5B4BDD #DD4B84 #CDDD4B #4BDDA4
split-complementary
#5B4BDD #DDA44B #84DD4B
monochromatic
#291C92 #3725C5 #5B4BDD #8A7EE7 #B9B2F0
Accessibility & contrast
On white
6.01
#5B4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5B4BDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4BDD
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4BDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4BDD | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b4bdd; /* rgb */ color: rgb(91, 75, 221); /* oklch */ color: oklch(52.0% 0.213 281.0);
Tailwind
colors: {
custom: {
50: '#967fe9',
500: '#5b4bdd',
950: '#000000',
},
}SCSS
$custom: #5b4bdd; $custom-light: #967fe9; $custom-dark: #000000;
JSON
{
"hex": "#5b4bdd",
"rgb": {
"r": 91,
"g": 75,
"b": 221
},
"hsl": {
"h": 246.575,
"s": 68.224,
"l": 58.039
},
"oklch": {
"l": 0.51957,
"c": 0.21257,
"h": 281
},
"luminance": 0.12477
}Semantic roles & 50–950 ramp
primary
#5B4BDD
secondary
#D9DFA5
accent
#EB3DD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84