#5D5FD5#5D5FD5
#5D5FD5 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.177 H 278.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FD5 |
|---|---|
| RGB | rgb(93, 95, 213) |
| HSL | hsl(239, 59%, 60%) |
| HSV | hsv(239, 56%, 84%) |
| CMYK | cmyk(56.3%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(46.06, 32.89, -61.23) |
| CIE-LCH | lch(46.06, 69.51, 298.25°) |
| OKLab | oklab(54.82% 0.0249 -0.1755) |
| OKLCH | oklch(54.82% 0.177 278.1) |
| XYZ | xyz(20.6128, 15.3143, 64.8076) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.67
Slate Blue
#6A5ACD
ΔE00 3.25
Warm Blue
#4B57DB
ΔE00 3.27
Iris
#6258C4
ΔE00 3.56
Light Indigo
#6D5ACF
ΔE00 3.61
Royal Blue
#4169E1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FD5 #D5D35D
analogous
#5D9BD5 #5D5FD5 #975DD5
triadic
#5D5FD5 #D55D5F #5FD55D
tetradic
#5D5FD5 #D55D9B #D5D35D #5DD597
square
#5D5FD5 #D55D9B #D5D35D #5DD597
split-complementary
#5D5FD5 #D5975D #9BD55D
monochromatic
#262892 #3235C2 #5D5FD5 #8E8FE2 #BEBFEE
Accessibility & contrast
On white
5.17
#5D5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5D5FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FD5
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FD5 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0372D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#197A91
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5d5fd5; /* rgb */ color: rgb(93, 95, 213); /* oklch */ color: oklch(54.8% 0.177 278.1);
Tailwind
colors: {
custom: {
50: '#958ce3',
500: '#5d5fd5',
950: '#000000',
},
}SCSS
$custom: #5d5fd5; $custom-light: #958ce3; $custom-dark: #000000;
JSON
{
"hex": "#5d5fd5",
"rgb": {
"r": 93,
"g": 95,
"b": 213
},
"hsl": {
"h": 239,
"s": 58.824,
"l": 60
},
"oklch": {
"l": 0.54815,
"c": 0.17724,
"h": 278.1
},
"luminance": 0.15316
}Semantic roles & 50–950 ramp
primary
#5D5FD5
secondary
#DEDDB0
accent
#DF46E2
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84