#5B58F7#5B58F7
#5B58F7 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.2% C 0.230 H 276.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5B58F7 |
|---|---|
| RGB | rgb(91, 88, 247) |
| HSL | hsl(241, 91%, 66%) |
| HSV | hsv(241, 64%, 97%) |
| CMYK | cmyk(63.2%, 64.4%, 0%, 3.1%) |
| CIE-LAB | lab(46.87, 47.61, -79.14) |
| CIE-LCH | lch(46.87, 92.36, 301.03°) |
| OKLab | oklab(56.17% 0.0274 -0.2282) |
| OKLCH | oklch(56.17% 0.23 276.9) |
| XYZ | xyz(24.5872, 15.9170, 89.7542) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 5.21
Electric Blue
#0652FF
ΔE00 5.37
Light Indigo
#6D5ACF
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 5.78
Purpleish Blue
#6140EF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B58F7 #F4F758
analogous
#58A4F7 #5B58F7 #AA58F7
triadic
#5B58F7 #F75B58 #58F75B
tetradic
#5B58F7 #F758A4 #F4F758 #58F7AA
square
#5B58F7 #F758A4 #F4F758 #58F7AA
split-complementary
#5B58F7 #F7AA58 #A4F758
monochromatic
#0D0ACB #221EF4 #5B58F7 #9492FA #CECDFD
Accessibility & contrast
On white
5.02
#5B58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#5B58F7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B58F7
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B58F7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B58F7 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076FC
Deuteranopia (green-blind)
#0068F4
Tritanopia (blue-blind)
#0081A0
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b58f7; /* rgb */ color: rgb(91, 88, 247); /* oklch */ color: oklch(56.2% 0.230 276.9);
Tailwind
colors: {
custom: {
50: '#9a88fb',
500: '#5b58f7',
950: '#000000',
},
}SCSS
$custom: #5b58f7; $custom-light: #9a88fb; $custom-dark: #000000;
JSON
{
"hex": "#5b58f7",
"rgb": {
"r": 91,
"g": 88,
"b": 247
},
"hsl": {
"h": 241.132,
"s": 90.857,
"l": 65.686
},
"oklch": {
"l": 0.56169,
"c": 0.22983,
"h": 276.9
},
"luminance": 0.15919
}Semantic roles & 50–950 ramp
primary
#5B58F7
secondary
#EFF0BB
accent
#E600E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86