#5B4FF8#5B4FF8
#5B4FF8 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.9% C 0.241 H 278.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FF8 |
|---|---|
| RGB | rgb(91, 79, 248) |
| HSL | hsl(244, 92%, 64%) |
| HSV | hsv(244, 68%, 97%) |
| CMYK | cmyk(63.3%, 68.1%, 0%, 2.7%) |
| CIE-LAB | lab(45.07, 53.01, -82.64) |
| CIE-LCH | lch(45.07, 98.18, 302.68°) |
| OKLab | oklab(54.9% 0.0338 -0.2384) |
| OKLCH | oklch(54.9% 0.241 278.1) |
| XYZ | xyz(24.0482, 14.5915, 90.3379) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.92
Warm Blue
#4B57DB
ΔE00 5.00
Electric Blue
#0652FF
ΔE00 5.37
Bluish Purple
#703BE7
ΔE00 5.75
Light Indigo
#6D5ACF
ΔE00 6.10
Slate Blue
#6A5ACD
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FF8 #ECF84F
analogous
#4F98F8 #5B4FF8 #AF4FF8
triadic
#5B4FF8 #F85B4F #4FF85B
tetradic
#5B4FF8 #F84F98 #ECF84F #4FF8AF
square
#5B4FF8 #F84F98 #ECF84F #4FF8AF
split-complementary
#5B4FF8 #F8AF4F #98F84F
monochromatic
#1508C5 #2414F6 #5B4FF8 #928AFA #C9C5FD
Accessibility & contrast
On white
5.36
#5B4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5B4FF8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FF8
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FF8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FF8 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071FD
Deuteranopia (green-blind)
#0064F5
Tritanopia (blue-blind)
#007C9E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b4ff8; /* rgb */ color: rgb(91, 79, 248); /* oklch */ color: oklch(54.9% 0.241 278.1);
Tailwind
colors: {
custom: {
50: '#9b82fc',
500: '#5b4ff8',
950: '#000000',
},
}SCSS
$custom: #5b4ff8; $custom-light: #9b82fc; $custom-dark: #000000;
JSON
{
"hex": "#5b4ff8",
"rgb": {
"r": 91,
"g": 79,
"b": 248
},
"hsl": {
"h": 244.26,
"s": 92.35,
"l": 64.118
},
"oklch": {
"l": 0.54896,
"c": 0.24083,
"h": 278.1
},
"luminance": 0.14593
}Semantic roles & 50–950 ramp
primary
#5B4FF8
secondary
#EBEFB4
accent
#E600D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86