#5D4FF0#5D4FF0
#5D4FF0 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.3% C 0.231 H 279.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FF0 |
|---|---|
| RGB | rgb(93, 79, 240) |
| HSL | hsl(245, 84%, 63%) |
| HSV | hsv(245, 67%, 94%) |
| CMYK | cmyk(61.2%, 67.1%, 0%, 5.9%) |
| CIE-LAB | lab(44.53, 50.82, -79.03) |
| CIE-LCH | lch(44.53, 93.96, 302.74°) |
| OKLab | oklab(54.34% 0.0374 -0.2278) |
| OKLCH | oklch(54.34% 0.231 279.3) |
| XYZ | xyz(23.0333, 14.2086, 83.9499) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.56
Warm Blue
#4B57DB
ΔE00 4.53
Bluish Purple
#703BE7
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.45
Electric Blue
#0652FF
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FF0 #E2F04F
analogous
#4F92F0 #5D4FF0 #AD4FF0
triadic
#5D4FF0 #F05D4F #4FF05D
tetradic
#5D4FF0 #F04F92 #E2F04F #4FF0AD
square
#5D4FF0 #F04F92 #E2F04F #4FF0AD
split-complementary
#5D4FF0 #F0AD4F #92F04F
monochromatic
#1E0FB5 #2917EB #5D4FF0 #9187F5 #C5C0FA
Accessibility & contrast
On white
5.47
#5D4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#5D4FF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FF0
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FF0 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FF5
Deuteranopia (green-blind)
#0063ED
Tritanopia (blue-blind)
#007999
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5d4ff0; /* rgb */ color: rgb(93, 79, 240); /* oklch */ color: oklch(54.3% 0.231 279.3);
Tailwind
colors: {
custom: {
50: '#9a82f6',
500: '#5d4ff0',
950: '#000000',
},
}SCSS
$custom: #5d4ff0; $custom-light: #9a82f6; $custom-dark: #000000;
JSON
{
"hex": "#5d4ff0",
"rgb": {
"r": 93,
"g": 79,
"b": 240
},
"hsl": {
"h": 245.217,
"s": 84.293,
"l": 62.549
},
"oklch": {
"l": 0.54336,
"c": 0.23088,
"h": 279.3
},
"luminance": 0.1421
}Semantic roles & 50–950 ramp
primary
#5D4FF0
secondary
#E6EBB0
accent
#E105CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85