#5D4EF2#5D4EF2
#5D4EF2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.4% C 0.234 H 279.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4EF2 |
|---|---|
| RGB | rgb(93, 78, 242) |
| HSL | hsl(245, 86%, 63%) |
| HSV | hsv(245, 68%, 95%) |
| CMYK | cmyk(61.6%, 67.8%, 0%, 5.1%) |
| CIE-LAB | lab(44.50, 51.99, -80.21) |
| CIE-LCH | lch(44.50, 95.58, 302.95°) |
| OKLab | oklab(54.36% 0.0379 -0.2313) |
| OKLCH | oklch(54.36% 0.234 279.3) |
| XYZ | xyz(23.2605, 14.1850, 85.4994) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.37
Warm Blue
#4B57DB
ΔE00 4.79
Bluish Purple
#703BE7
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.65
Electric Blue
#0652FF
ΔE00 5.67
Slate Blue
#6A5ACD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4EF2 #E3F24E
analogous
#4E91F2 #5D4EF2 #AF4EF2
triadic
#5D4EF2 #F25D4E #4EF25D
tetradic
#5D4EF2 #F24E91 #E3F24E #4EF2AF
square
#5D4EF2 #F24E91 #E3F24E #4EF2AF
split-complementary
#5D4EF2 #F2AF4E #91F24E
monochromatic
#1D0EB8 #2915EE #5D4EF2 #9187F6 #C5C0FA
Accessibility & contrast
On white
5.47
#5D4EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#5D4EF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4EF2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4EF2 | 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)
#0070F7
Deuteranopia (green-blind)
#0063EF
Tritanopia (blue-blind)
#007A9A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5d4ef2; /* rgb */ color: rgb(93, 78, 242); /* oklch */ color: oklch(54.4% 0.234 279.3);
Tailwind
colors: {
custom: {
50: '#9b81f8',
500: '#5d4ef2',
950: '#000000',
},
}SCSS
$custom: #5d4ef2; $custom-light: #9b81f8; $custom-dark: #000000;
JSON
{
"hex": "#5d4ef2",
"rgb": {
"r": 93,
"g": 78,
"b": 242
},
"hsl": {
"h": 245.488,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.54364,
"c": 0.23437,
"h": 279.3
},
"luminance": 0.14187
}Semantic roles & 50–950 ramp
primary
#5D4EF2
secondary
#E6ECB0
accent
#E303CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85