#5D4ABE#5D4ABE
#5D4ABE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.174 H 285.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4ABE |
|---|---|
| RGB | rgb(93, 74, 190) |
| HSL | hsl(250, 47%, 52%) |
| HSV | hsv(250, 61%, 75%) |
| CMYK | cmyk(51.1%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(39.48, 38.39, -58.60) |
| CIE-LCH | lch(39.48, 70.05, 303.23°) |
| OKLab | oklab(49.44% 0.0469 -0.1679) |
| OKLCH | oklch(49.44% 0.174 285.6) |
| XYZ | xyz(16.2545, 10.9416, 49.9607) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.83
Ocean Blue
#4F42B5
ΔE00 3.22
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Iris
#6258C4
ΔE00 4.24
Blurple
#5539CC
ΔE00 4.67
Slate Blue
#6A5ACD
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4ABE #ABBE4A
analogous
#4A71BE #5D4ABE #974ABE
triadic
#5D4ABE #BE5D4A #4ABE5D
tetradic
#5D4ABE #BE4A71 #ABBE4A #4ABE97
square
#5D4ABE #BE4A71 #ABBE4A #4ABE97
split-complementary
#5D4ABE #BE974A #71BE4A
monochromatic
#302568 #453695 #5D4ABE #8577CE #AEA4DE
Accessibility & contrast
On white
6.59
#5D4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#5D4ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4ABE
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4ABE | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#38657D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5d4abe; /* rgb */ color: rgb(93, 74, 190); /* oklch */ color: oklch(49.4% 0.174 285.6);
Tailwind
colors: {
custom: {
50: '#937dd2',
500: '#5d4abe',
950: '#000000',
},
}SCSS
$custom: #5d4abe; $custom-light: #937dd2; $custom-dark: #000000;
JSON
{
"hex": "#5d4abe",
"rgb": {
"r": 93,
"g": 74,
"b": 190
},
"hsl": {
"h": 249.828,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.49437,
"c": 0.17428,
"h": 285.6
},
"luminance": 0.10942
}Semantic roles & 50–950 ramp
primary
#5D4ABE
secondary
#C3CB98
accent
#D751C1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83