#5B4EDD#5B4EDD
#5B4EDD is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.209 H 280.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4EDD |
|---|---|
| RGB | rgb(91, 78, 221) |
| HSL | hsl(245, 68%, 59%) |
| HSV | hsv(245, 65%, 87%) |
| CMYK | cmyk(58.8%, 64.7%, 0%, 13.3%) |
| CIE-LAB | lab(42.60, 45.23, -71.43) |
| CIE-LCH | lch(42.60, 84.55, 302.34°) |
| OKLab | oklab(52.42% 0.038 -0.2056) |
| OKLCH | oklch(52.42% 0.209 280.5) |
| XYZ | xyz(20.0858, 12.8920, 69.8226) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.70
Purpleish Blue
#6140EF
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.43
Iris
#6258C4
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.58
Bluey Purple
#6241C7
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4EDD #D0DD4E
analogous
#4E88DD #5B4EDD #A34EDD
triadic
#5B4EDD #DD5B4E #4EDD5B
tetradic
#5B4EDD #DD4E88 #D0DD4E #4EDDA3
square
#5B4EDD #DD4E88 #D0DD4E #4EDDA3
split-complementary
#5B4EDD #DDA34E #88DD4E
monochromatic
#271C94 #3526C7 #5B4EDD #8B81E7 #BAB5F1
Accessibility & contrast
On white
5.87
#5B4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5B4EDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4EDD
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4EDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4EDD | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b4edd; /* rgb */ color: rgb(91, 78, 221); /* oklch */ color: oklch(52.4% 0.209 280.5);
Tailwind
colors: {
custom: {
50: '#9681e9',
500: '#5b4edd',
950: '#000000',
},
}SCSS
$custom: #5b4edd; $custom-light: #9681e9; $custom-dark: #000000;
JSON
{
"hex": "#5b4edd",
"rgb": {
"r": 91,
"g": 78,
"b": 221
},
"hsl": {
"h": 245.455,
"s": 67.773,
"l": 58.627
},
"oklch": {
"l": 0.52419,
"c": 0.20908,
"h": 280.5
},
"luminance": 0.12893
}Semantic roles & 50–950 ramp
primary
#5B4EDD
secondary
#DBE0A7
accent
#EB3DDB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84