#5A58DC#5A58DC
#5A58DC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.196 H 278.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5A58DC |
|---|---|
| RGB | rgb(90, 88, 220) |
| HSL | hsl(241, 65%, 60%) |
| HSV | hsv(241, 60%, 86%) |
| CMYK | cmyk(59.1%, 60%, 0%, 13.7%) |
| CIE-LAB | lab(44.69, 38.86, -67.47) |
| CIE-LCH | lch(44.69, 77.86, 299.94°) |
| OKLab | oklab(53.9% 0.028 -0.1939) |
| OKLCH | oklch(53.9% 0.196 278.2) |
| XYZ | xyz(20.6203, 14.3189, 69.3735) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.11
Dark Periwinkle
#665FD1
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.34
Iris
#6258C4
ΔE00 3.60
Light Indigo
#6D5ACF
ΔE00 3.62
Electric Blue
#0652FF
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A58DC #DADC58
analogous
#5898DC #5A58DC #9C58DC
triadic
#5A58DC #DC5A58 #58DC5A
tetradic
#5A58DC #DC5898 #DADC58 #58DC9C
square
#5A58DC #DC5898 #DADC58 #58DC9C
split-complementary
#5A58DC #DC9C58 #98DC58
monochromatic
#222099 #2D2BCC #5A58DC #8C8BE7 #BEBDF1
Accessibility & contrast
On white
5.43
#5A58DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5A58DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A58DC
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A58DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A58DC | 1.00 | 5.43 | 3.86 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5a58dc; /* rgb */ color: rgb(90, 88, 220); /* oklch */ color: oklch(53.9% 0.196 278.2);
Tailwind
colors: {
custom: {
50: '#9587e8',
500: '#5a58dc',
950: '#000000',
},
}SCSS
$custom: #5a58dc; $custom-light: #9587e8; $custom-dark: #000000;
JSON
{
"hex": "#5a58dc",
"rgb": {
"r": 90,
"g": 88,
"b": 220
},
"hsl": {
"h": 240.909,
"s": 65.347,
"l": 60.392
},
"oklch": {
"l": 0.53901,
"c": 0.19596,
"h": 278.2
},
"luminance": 0.1432
}Semantic roles & 50–950 ramp
primary
#5A58DC
secondary
#E0E1AF
accent
#CD18CA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84