#5C58DC#5C58DC
#5C58DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.196 H 279.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5C58DC |
|---|---|
| RGB | rgb(92, 88, 220) |
| HSL | hsl(242, 65%, 60%) |
| HSV | hsv(242, 60%, 86%) |
| CMYK | cmyk(58.2%, 60%, 0%, 13.7%) |
| CIE-LAB | lab(44.83, 39.19, -67.23) |
| CIE-LCH | lch(44.83, 77.82, 300.24°) |
| OKLab | oklab(54.04% 0.0304 -0.1932) |
| OKLCH | oklch(54.04% 0.196 279) |
| XYZ | xyz(20.8175, 14.4206, 69.3827) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.41
Dark Periwinkle
#665FD1
ΔE00 2.85
Slate Blue
#6A5ACD
ΔE00 3.11
Light Indigo
#6D5ACF
ΔE00 3.36
Iris
#6258C4
ΔE00 3.52
Electric Blue
#0652FF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C58DC #D8DC58
analogous
#5896DC #5C58DC #9E58DC
triadic
#5C58DC #DC5C58 #58DC5C
tetradic
#5C58DC #DC5896 #D8DC58 #58DC9E
square
#5C58DC #DC5896 #D8DC58 #58DC9E
split-complementary
#5C58DC #DC9E58 #96DC58
monochromatic
#242099 #302BCC #5C58DC #8D8BE7 #BFBDF1
Accessibility & contrast
On white
5.41
#5C58DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5C58DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C58DC
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C58DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C58DC | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5c58dc; /* rgb */ color: rgb(92, 88, 220); /* oklch */ color: oklch(54.0% 0.196 279.0);
Tailwind
colors: {
custom: {
50: '#9687e8',
500: '#5c58dc',
950: '#000000',
},
}SCSS
$custom: #5c58dc; $custom-light: #9687e8; $custom-dark: #000000;
JSON
{
"hex": "#5c58dc",
"rgb": {
"r": 92,
"g": 88,
"b": 220
},
"hsl": {
"h": 241.818,
"s": 65.347,
"l": 60.392
},
"oklch": {
"l": 0.54043,
"c": 0.19556,
"h": 279
},
"luminance": 0.14422
}Semantic roles & 50–950 ramp
primary
#5C58DC
secondary
#E0E1AF
accent
#CD18C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84