#5B4FED#5B4FED
#5B4FED is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.228 H 278.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FED |
|---|---|
| RGB | rgb(91, 79, 237) |
| HSL | hsl(245, 81%, 62%) |
| HSV | hsv(245, 67%, 93%) |
| CMYK | cmyk(61.6%, 66.7%, 0%, 7.1%) |
| CIE-LAB | lab(44.13, 49.62, -78.00) |
| CIE-LCH | lch(44.13, 92.45, 302.46°) |
| OKLab | oklab(53.93% 0.0353 -0.2249) |
| OKLCH | oklch(53.93% 0.228 278.9) |
| XYZ | xyz(22.3915, 13.9288, 81.6129) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.56
Warm Blue
#4B57DB
ΔE00 4.14
Light Indigo
#6D5ACF
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.28
Bluish Purple
#703BE7
ΔE00 5.36
Electric Blue
#0652FF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FED #E1ED4F
analogous
#4F92ED #5B4FED #AA4FED
triadic
#5B4FED #ED5B4F #4FED5B
tetradic
#5B4FED #ED4F92 #E1ED4F #4FEDAA
square
#5B4FED #ED4F92 #E1ED4F #4FEDAA
split-complementary
#5B4FED #EDAA4F #92ED4F
monochromatic
#1E12B0 #2718E7 #5B4FED #8F87F3 #C2BEF8
Accessibility & contrast
On white
5.55
#5B4FED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#5B4FED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FED
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FED | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0062EA
Tritanopia (blue-blind)
#007998
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5b4fed; /* rgb */ color: rgb(91, 79, 237); /* oklch */ color: oklch(53.9% 0.228 278.9);
Tailwind
colors: {
custom: {
50: '#9982f4',
500: '#5b4fed',
950: '#000000',
},
}SCSS
$custom: #5b4fed; $custom-light: #9982f4; $custom-dark: #000000;
JSON
{
"hex": "#5b4fed",
"rgb": {
"r": 91,
"g": 79,
"b": 237
},
"hsl": {
"h": 244.557,
"s": 81.443,
"l": 61.961
},
"oklch": {
"l": 0.53933,
"c": 0.22762,
"h": 278.9
},
"luminance": 0.13931
}Semantic roles & 50–950 ramp
primary
#5B4FED
secondary
#E5E9AF
accent
#DE08CE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85