#5D4EDC#5D4EDC
#5D4EDC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.208 H 281.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4EDC |
|---|---|
| RGB | rgb(93, 78, 220) |
| HSL | hsl(246, 67%, 58%) |
| HSV | hsv(246, 65%, 86%) |
| CMYK | cmyk(57.7%, 64.5%, 0%, 13.7%) |
| CIE-LAB | lab(42.68, 45.24, -70.73) |
| CIE-LCH | lch(42.68, 83.96, 302.60°) |
| OKLab | oklab(52.49% 0.0406 -0.2035) |
| OKLCH | oklch(52.49% 0.208 281.3) |
| XYZ | xyz(20.1528, 12.9419, 69.1323) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.78
Warm Blue
#4B57DB
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.26
Iris
#6258C4
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.38
Bluey Purple
#6241C7
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4EDC #CDDC4E
analogous
#4E86DC #5D4EDC #A44EDC
triadic
#5D4EDC #DC5D4E #4EDC5D
tetradic
#5D4EDC #DC4E86 #CDDC4E #4EDCA4
square
#5D4EDC #DC4E86 #CDDC4E #4EDCA4
split-complementary
#5D4EDC #DCA44E #86DC4E
monochromatic
#291D93 #3827C6 #5D4EDC #8C81E6 #BBB4F0
Accessibility & contrast
On white
5.85
#5D4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5D4EDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4EDC
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4EDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4EDC | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#0C728E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5d4edc; /* rgb */ color: rgb(93, 78, 220); /* oklch */ color: oklch(52.5% 0.208 281.3);
Tailwind
colors: {
custom: {
50: '#9781e8',
500: '#5d4edc',
950: '#000000',
},
}SCSS
$custom: #5d4edc; $custom-light: #9781e8; $custom-dark: #000000;
JSON
{
"hex": "#5d4edc",
"rgb": {
"r": 93,
"g": 78,
"b": 220
},
"hsl": {
"h": 246.338,
"s": 66.981,
"l": 58.431
},
"oklch": {
"l": 0.52488,
"c": 0.20751,
"h": 281.3
},
"luminance": 0.12943
}Semantic roles & 50–950 ramp
primary
#5D4EDC
secondary
#D9DFA7
accent
#EA3ED8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84