#5B4CD5#5B4CD5
#5B4CD5 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.4% C 0.201 H 281.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4CD5 |
|---|---|
| RGB | rgb(91, 76, 213) |
| HSL | hsl(247, 62%, 57%) |
| HSV | hsv(247, 64%, 84%) |
| CMYK | cmyk(57.3%, 64.3%, 0%, 16.5%) |
| CIE-LAB | lab(41.53, 43.91, -68.61) |
| CIE-LCH | lch(41.53, 81.46, 302.62°) |
| OKLab | oklab(51.44% 0.0405 -0.1973) |
| OKLCH | oklch(51.44% 0.201 281.6) |
| XYZ | xyz(18.9053, 12.1959, 64.2957) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.79
Purpleish Blue
#6140EF
ΔE00 4.11
Iris
#6258C4
ΔE00 4.22
Warm Blue
#4B57DB
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4CD5 #C6D54C
analogous
#4C82D5 #5B4CD5 #9F4CD5
triadic
#5B4CD5 #D55B4C #4CD55B
tetradic
#5B4CD5 #D54C82 #C6D54C #4CD59F
square
#5B4CD5 #D54C82 #C6D54C #4CD59F
split-complementary
#5B4CD5 #D59F4C #82D54C
monochromatic
#2B2087 #3B2BB9 #5B4CD5 #887EE1 #B6AFEC
Accessibility & contrast
On white
6.11
#5B4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5B4CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4CD5
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4CD5 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#146E8A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b4cd5; /* rgb */ color: rgb(91, 76, 213); /* oklch */ color: oklch(51.4% 0.201 281.6);
Tailwind
colors: {
custom: {
50: '#957fe3',
500: '#5b4cd5',
950: '#000000',
},
}SCSS
$custom: #5b4cd5; $custom-light: #957fe3; $custom-dark: #000000;
JSON
{
"hex": "#5b4cd5",
"rgb": {
"r": 91,
"g": 76,
"b": 213
},
"hsl": {
"h": 246.569,
"s": 61.991,
"l": 56.667
},
"oklch": {
"l": 0.51439,
"c": 0.20145,
"h": 281.6
},
"luminance": 0.12197
}Semantic roles & 50–950 ramp
primary
#5B4CD5
secondary
#D4DAA2
accent
#E543D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84