#5D4DCD#5D4DCD
#5D4DCD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.1% C 0.190 H 283.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4DCD |
|---|---|
| RGB | rgb(93, 77, 205) |
| HSL | hsl(248, 56%, 55%) |
| HSV | hsv(248, 62%, 80%) |
| CMYK | cmyk(54.6%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(41.28, 41.20, -64.39) |
| CIE-LCH | lch(41.28, 76.45, 302.61°) |
| OKLab | oklab(51.11% 0.0429 -0.1849) |
| OKLCH | oklch(51.11% 0.19 283.1) |
| XYZ | xyz(18.1841, 12.0416, 59.1118) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.48
Iris
#6258C4
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 4.59
Blue With A Hint Of Purple
#533CC6
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4DCD #BDCD4D
analogous
#4D7DCD #5D4DCD #9D4DCD
triadic
#5D4DCD #CD5D4D #4DCD5D
tetradic
#5D4DCD #CD4D7D #BDCD4D #4DCD9D
square
#5D4DCD #CD4D7D #BDCD4D #4DCD9D
split-complementary
#5D4DCD #CD9D4D #7DCD4D
monochromatic
#2E237D #4030AC #5D4DCD #887DDA #B4ADE8
Accessibility & contrast
On white
6.16
#5D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5D4DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4DCD
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4DCD | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#296C86
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5d4dcd; /* rgb */ color: rgb(93, 77, 205); /* oklch */ color: oklch(51.1% 0.190 283.1);
Tailwind
colors: {
custom: {
50: '#9580dd',
500: '#5d4dcd',
950: '#000000',
},
}SCSS
$custom: #5d4dcd; $custom-light: #9580dd; $custom-dark: #000000;
JSON
{
"hex": "#5d4dcd",
"rgb": {
"r": 93,
"g": 77,
"b": 205
},
"hsl": {
"h": 247.5,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.51107,
"c": 0.18979,
"h": 283.1
},
"luminance": 0.12043
}Semantic roles & 50–950 ramp
primary
#5D4DCD
secondary
#CFD6A0
accent
#DF48CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83