#5F58DC#5F58DC
#5F58DC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.195 H 280.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58DC |
|---|---|
| RGB | rgb(95, 88, 220) |
| HSL | hsl(243, 65%, 60%) |
| HSV | hsv(243, 60%, 86%) |
| CMYK | cmyk(56.8%, 60%, 0%, 13.7%) |
| CIE-LAB | lab(45.05, 39.71, -66.86) |
| CIE-LCH | lch(45.05, 77.76, 300.71°) |
| OKLab | oklab(54.26% 0.034 -0.192) |
| OKLCH | oklch(54.26% 0.195 280.1) |
| XYZ | xyz(21.1232, 14.5782, 69.3971) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.68
Slate Blue
#6A5ACD
ΔE00 2.80
Warm Blue
#4B57DB
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 2.99
Iris
#6258C4
ΔE00 3.44
Purpleish Blue
#6140EF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58DC #D5DC58
analogous
#5893DC #5F58DC #A158DC
triadic
#5F58DC #DC5F58 #58DC5F
tetradic
#5F58DC #DC5893 #D5DC58 #58DCA1
square
#5F58DC #DC5893 #D5DC58 #58DCA1
split-complementary
#5F58DC #DCA158 #93DC58
monochromatic
#272099 #332BCC #5F58DC #8F8BE7 #C0BDF1
Accessibility & contrast
On white
5.36
#5F58DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5F58DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58DC
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58DC | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#167892
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5f58dc; /* rgb */ color: rgb(95, 88, 220); /* oklch */ color: oklch(54.3% 0.195 280.1);
Tailwind
colors: {
custom: {
50: '#9787e8',
500: '#5f58dc',
950: '#000000',
},
}SCSS
$custom: #5f58dc; $custom-light: #9787e8; $custom-dark: #000000;
JSON
{
"hex": "#5f58dc",
"rgb": {
"r": 95,
"g": 88,
"b": 220
},
"hsl": {
"h": 243.182,
"s": 65.347,
"l": 60.392
},
"oklch": {
"l": 0.54261,
"c": 0.19501,
"h": 280.1
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#5F58DC
secondary
#DEE1AF
accent
#CD18C4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84