#5B4FF5#5B4FF5
#5B4FF5 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.6% C 0.237 H 278.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FF5 |
|---|---|
| RGB | rgb(91, 79, 245) |
| HSL | hsl(244, 89%, 64%) |
| HSV | hsv(244, 68%, 96%) |
| CMYK | cmyk(62.9%, 67.8%, 0%, 3.9%) |
| CIE-LAB | lab(44.81, 52.09, -81.38) |
| CIE-LCH | lch(44.81, 96.63, 302.62°) |
| OKLab | oklab(54.63% 0.0342 -0.2348) |
| OKLCH | oklch(54.63% 0.237 278.3) |
| XYZ | xyz(23.5865, 14.4068, 87.9063) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.77
Warm Blue
#4B57DB
ΔE00 4.74
Electric Blue
#0652FF
ΔE00 5.35
Bluish Purple
#703BE7
ΔE00 5.62
Light Indigo
#6D5ACF
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FF5 #E9F54F
analogous
#4F96F5 #5B4FF5 #AE4FF5
triadic
#5B4FF5 #F55B4F #4FF55B
tetradic
#5B4FF5 #F54F96 #E9F54F #4FF5AE
square
#5B4FF5 #F54F96 #E9F54F #4FF5AE
split-complementary
#5B4FF5 #F5AE4F #96F54F
monochromatic
#180BBF #2515F2 #5B4FF5 #9189F8 #C7C3FC
Accessibility & contrast
On white
5.41
#5B4FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5B4FF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FF5
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FF5 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071FA
Deuteranopia (green-blind)
#0063F2
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b4ff5; /* rgb */ color: rgb(91, 79, 245); /* oklch */ color: oklch(54.6% 0.237 278.3);
Tailwind
colors: {
custom: {
50: '#9a82fa',
500: '#5b4ff5',
950: '#000000',
},
}SCSS
$custom: #5b4ff5; $custom-light: #9a82fa; $custom-dark: #000000;
JSON
{
"hex": "#5b4ff5",
"rgb": {
"r": 91,
"g": 79,
"b": 245
},
"hsl": {
"h": 244.337,
"s": 89.247,
"l": 63.529
},
"oklch": {
"l": 0.54631,
"c": 0.23726,
"h": 278.3
},
"luminance": 0.14409
}Semantic roles & 50–950 ramp
primary
#5B4FF5
secondary
#E9EDB2
accent
#E600D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85