#5B4BD5#5B4BD5
#5B4BD5 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.3% C 0.203 H 281.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4BD5 |
|---|---|
| RGB | rgb(91, 75, 213) |
| HSL | hsl(247, 62%, 56%) |
| HSV | hsv(247, 65%, 84%) |
| CMYK | cmyk(57.3%, 64.8%, 0%, 16.5%) |
| CIE-LAB | lab(41.31, 44.49, -68.96) |
| CIE-LCH | lch(41.31, 82.07, 302.83°) |
| OKLab | oklab(51.28% 0.0414 -0.1984) |
| OKLCH | oklch(51.28% 0.203 281.8) |
| XYZ | xyz(18.8370, 12.0592, 64.2729) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.57
Purpleish Blue
#6140EF
ΔE00 3.97
Iris
#6258C4
ΔE00 4.43
Warm Blue
#4B57DB
ΔE00 4.48
Blue With A Hint Of Purple
#533CC6
ΔE00 4.59
Blurple
#5539CC
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4BD5 #C5D54B
analogous
#4B80D5 #5B4BD5 #A04BD5
triadic
#5B4BD5 #D55B4B #4BD55B
tetradic
#5B4BD5 #D54B80 #C5D54B #4BD5A0
square
#5B4BD5 #D54B80 #C5D54B #4BD5A0
split-complementary
#5B4BD5 #D5A04B #80D54B
monochromatic
#2B1F86 #3B2BB8 #5B4BD5 #887DE1 #B5AEEC
Accessibility & contrast
On white
6.15
#5B4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5B4BD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4BD5
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4BD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4BD5 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#146E89
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5b4bd5; /* rgb */ color: rgb(91, 75, 213); /* oklch */ color: oklch(51.3% 0.203 281.8);
Tailwind
colors: {
custom: {
50: '#957ee3',
500: '#5b4bd5',
950: '#000000',
},
}SCSS
$custom: #5b4bd5; $custom-light: #957ee3; $custom-dark: #000000;
JSON
{
"hex": "#5b4bd5",
"rgb": {
"r": 91,
"g": 75,
"b": 213
},
"hsl": {
"h": 246.957,
"s": 62.162,
"l": 56.471
},
"oklch": {
"l": 0.51283,
"c": 0.20263,
"h": 281.8
},
"luminance": 0.1206
}Semantic roles & 50–950 ramp
primary
#5B4BD5
secondary
#D4DAA2
accent
#E543D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84