#5B4EE5#5B4EE5
#5B4EE5 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.1% C 0.219 H 279.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4EE5 |
|---|---|
| RGB | rgb(91, 78, 229) |
| HSL | hsl(245, 74%, 60%) |
| HSV | hsv(245, 66%, 90%) |
| CMYK | cmyk(60.3%, 65.9%, 0%, 10.2%) |
| CIE-LAB | lab(43.25, 47.71, -74.91) |
| CIE-LCH | lch(43.25, 88.82, 302.49°) |
| OKLab | oklab(53.1% 0.0371 -0.2158) |
| OKLCH | oklch(53.1% 0.219 279.7) |
| XYZ | xyz(21.1771, 13.3285, 75.5703) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.40
Warm Blue
#4B57DB
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 4.92
Bluish Purple
#703BE7
ΔE00 5.07
Iris
#6258C4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4EE5 #D8E54E
analogous
#4E8CE5 #5B4EE5 #A74EE5
triadic
#5B4EE5 #E55B4E #4EE55B
tetradic
#5B4EE5 #E54E8C #D8E54E #4EE5A7
square
#5B4EE5 #E54E8C #D8E54E #4EE5A7
split-complementary
#5B4EE5 #E5A74E #8CE54E
monochromatic
#2318A1 #2F1FD6 #5B4EE5 #8C83ED #BEB9F5
Accessibility & contrast
On white
5.73
#5B4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5B4EE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4EE5
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4EE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4EE5 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b4ee5; /* rgb */ color: rgb(91, 78, 229); /* oklch */ color: oklch(53.1% 0.219 279.7);
Tailwind
colors: {
custom: {
50: '#9781ee',
500: '#5b4ee5',
950: '#000000',
},
}SCSS
$custom: #5b4ee5; $custom-light: #9781ee; $custom-dark: #000000;
JSON
{
"hex": "#5b4ee5",
"rgb": {
"r": 91,
"g": 78,
"b": 229
},
"hsl": {
"h": 245.166,
"s": 74.384,
"l": 60.196
},
"oklch": {
"l": 0.53095,
"c": 0.21898,
"h": 279.7
},
"luminance": 0.1333
}Semantic roles & 50–950 ramp
primary
#5B4EE5
secondary
#DFE4AA
accent
#D70FC5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85