#5A58F7#5A58F7
#5A58F7 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.230 H 276.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5A58F7 |
|---|---|
| RGB | rgb(90, 88, 247) |
| HSL | hsl(241, 91%, 66%) |
| HSV | hsv(241, 64%, 97%) |
| CMYK | cmyk(63.6%, 64.4%, 0%, 3.1%) |
| CIE-LAB | lab(46.80, 47.48, -79.25) |
| CIE-LCH | lch(46.80, 92.38, 300.93°) |
| OKLab | oklab(56.1% 0.0263 -0.2285) |
| OKLCH | oklch(56.1% 0.23 276.6) |
| XYZ | xyz(24.4892, 15.8665, 89.7497) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.49
Dark Periwinkle
#665FD1
ΔE00 5.23
Electric Blue
#0652FF
ΔE00 5.25
Light Indigo
#6D5ACF
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 5.81
Purpleish Blue
#6140EF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A58F7 #F5F758
analogous
#58A5F7 #5A58F7 #AA58F7
triadic
#5A58F7 #F75A58 #58F75A
tetradic
#5A58F7 #F758A5 #F5F758 #58F7AA
square
#5A58F7 #F758A5 #F5F758 #58F7AA
split-complementary
#5A58F7 #F7AA58 #A5F758
monochromatic
#0C0ACB #201EF4 #5A58F7 #9492FA #CDCDFD
Accessibility & contrast
On white
5.03
#5A58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#5A58F7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A58F7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A58F7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A58F7 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 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: #5a58f7; /* rgb */ color: rgb(90, 88, 247); /* oklch */ color: oklch(56.1% 0.230 276.6);
Tailwind
colors: {
custom: {
50: '#9988fb',
500: '#5a58f7',
950: '#000000',
},
}SCSS
$custom: #5a58f7; $custom-light: #9988fb; $custom-dark: #000000;
JSON
{
"hex": "#5a58f7",
"rgb": {
"r": 90,
"g": 88,
"b": 247
},
"hsl": {
"h": 240.755,
"s": 90.857,
"l": 65.686
},
"oklch": {
"l": 0.56103,
"c": 0.23004,
"h": 276.6
},
"luminance": 0.15869
}Semantic roles & 50–950 ramp
primary
#5A58F7
secondary
#EFF0BB
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86