#5D4FDD#5D4FDD
#5D4FDD is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.208 H 281.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FDD |
|---|---|
| RGB | rgb(93, 79, 221) |
| HSL | hsl(246, 68%, 59%) |
| HSV | hsv(246, 64%, 87%) |
| CMYK | cmyk(57.9%, 64.3%, 0%, 13.3%) |
| CIE-LAB | lab(42.97, 44.97, -70.82) |
| CIE-LCH | lch(42.97, 83.89, 302.42°) |
| OKLab | oklab(52.73% 0.0396 -0.2038) |
| OKLCH | oklch(52.73% 0.208 281) |
| XYZ | xyz(20.3572, 13.1382, 69.8558) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.71
Purpleish Blue
#6140EF
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.24
Iris
#6258C4
ΔE00 4.28
Dark Periwinkle
#665FD1
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FDD #CFDD4F
analogous
#4F88DD #5D4FDD #A44FDD
triadic
#5D4FDD #DD5D4F #4FDD5D
tetradic
#5D4FDD #DD4F88 #CFDD4F #4FDDA4
square
#5D4FDD #DD4F88 #CFDD4F #4FDDA4
split-complementary
#5D4FDD #DDA44F #88DD4F
monochromatic
#291D95 #3727C8 #5D4FDD #8C82E7 #BBB6F1
Accessibility & contrast
On white
5.79
#5D4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5D4FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FDD
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FDD | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#07738F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5d4fdd; /* rgb */ color: rgb(93, 79, 221); /* oklch */ color: oklch(52.7% 0.208 281.0);
Tailwind
colors: {
custom: {
50: '#9781e9',
500: '#5d4fdd',
950: '#000000',
},
}SCSS
$custom: #5d4fdd; $custom-light: #9781e9; $custom-dark: #000000;
JSON
{
"hex": "#5d4fdd",
"rgb": {
"r": 93,
"g": 79,
"b": 221
},
"hsl": {
"h": 245.915,
"s": 67.619,
"l": 58.824
},
"oklch": {
"l": 0.52727,
"c": 0.20758,
"h": 281
},
"luminance": 0.1314
}Semantic roles & 50–950 ramp
primary
#5D4FDD
secondary
#DAE0A8
accent
#EA3DD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84