#5D58DC#5D58DC
#5D58DC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.195 H 279.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5D58DC |
|---|---|
| RGB | rgb(93, 88, 220) |
| HSL | hsl(242, 65%, 60%) |
| HSV | hsv(242, 60%, 86%) |
| CMYK | cmyk(57.7%, 60%, 0%, 13.7%) |
| CIE-LAB | lab(44.90, 39.36, -67.10) |
| CIE-LCH | lch(44.90, 77.80, 300.40°) |
| OKLab | oklab(54.12% 0.0316 -0.1928) |
| OKLCH | oklch(54.12% 0.195 279.3) |
| XYZ | xyz(20.9181, 14.4725, 69.3874) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.56
Dark Periwinkle
#665FD1
ΔE00 2.79
Slate Blue
#6A5ACD
ΔE00 3.01
Light Indigo
#6D5ACF
ΔE00 3.24
Iris
#6258C4
ΔE00 3.49
Purpleish Blue
#6140EF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D58DC #D7DC58
analogous
#5895DC #5D58DC #9F58DC
triadic
#5D58DC #DC5D58 #58DC5D
tetradic
#5D58DC #DC5895 #D7DC58 #58DC9F
square
#5D58DC #DC5895 #D7DC58 #58DC9F
split-complementary
#5D58DC #DC9F58 #95DC58
monochromatic
#252099 #312BCC #5D58DC #8E8BE7 #BFBDF1
Accessibility & contrast
On white
5.39
#5D58DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5D58DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D58DC
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D58DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D58DC | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#077892
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5d58dc; /* rgb */ color: rgb(93, 88, 220); /* oklch */ color: oklch(54.1% 0.195 279.3);
Tailwind
colors: {
custom: {
50: '#9687e8',
500: '#5d58dc',
950: '#000000',
},
}SCSS
$custom: #5d58dc; $custom-light: #9687e8; $custom-dark: #000000;
JSON
{
"hex": "#5d58dc",
"rgb": {
"r": 93,
"g": 88,
"b": 220
},
"hsl": {
"h": 242.273,
"s": 65.347,
"l": 60.392
},
"oklch": {
"l": 0.54115,
"c": 0.19538,
"h": 279.3
},
"luminance": 0.14474
}Semantic roles & 50–950 ramp
primary
#5D58DC
secondary
#DFE1AF
accent
#CD18C6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84