#5D4FDC#5D4FDC
#5D4FDC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.206 H 281.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FDC |
|---|---|
| RGB | rgb(93, 79, 220) |
| HSL | hsl(246, 67%, 59%) |
| HSV | hsv(246, 64%, 86%) |
| CMYK | cmyk(57.7%, 64.1%, 0%, 13.7%) |
| CIE-LAB | lab(42.89, 44.66, -70.38) |
| CIE-LCH | lch(42.89, 83.36, 302.40°) |
| OKLab | oklab(52.64% 0.0397 -0.2025) |
| OKLCH | oklch(52.64% 0.206 281.1) |
| XYZ | xyz(20.2244, 13.0851, 69.1562) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.70
Purpleish Blue
#6140EF
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.07
Iris
#6258C4
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 4.20
Dark Periwinkle
#665FD1
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FDC #CEDC4F
analogous
#4F87DC #5D4FDC #A34FDC
triadic
#5D4FDC #DC5D4F #4FDC5D
tetradic
#5D4FDC #DC4F87 #CEDC4F #4FDCA3
square
#5D4FDC #DC4F87 #CEDC4F #4FDCA3
split-complementary
#5D4FDC #DCA34F #87DC4F
monochromatic
#291D93 #3727C6 #5D4FDC #8C82E6 #BBB5F0
Accessibility & contrast
On white
5.81
#5D4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5D4FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FDC
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FDC | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#0B728E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5d4fdc; /* rgb */ color: rgb(93, 79, 220); /* oklch */ color: oklch(52.6% 0.206 281.1);
Tailwind
colors: {
custom: {
50: '#9781e8',
500: '#5d4fdc',
950: '#000000',
},
}SCSS
$custom: #5d4fdc; $custom-light: #9781e8; $custom-dark: #000000;
JSON
{
"hex": "#5d4fdc",
"rgb": {
"r": 93,
"g": 79,
"b": 220
},
"hsl": {
"h": 245.957,
"s": 66.825,
"l": 58.627
},
"oklch": {
"l": 0.52644,
"c": 0.20632,
"h": 281.1
},
"luminance": 0.13086
}Semantic roles & 50–950 ramp
primary
#5D4FDC
secondary
#DADFA8
accent
#EA3ED9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84