#5D4FE8#5D4FE8
#5D4FE8 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.221 H 280.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FE8 |
|---|---|
| RGB | rgb(93, 79, 232) |
| HSL | hsl(245, 77%, 61%) |
| HSV | hsv(245, 66%, 91%) |
| CMYK | cmyk(59.9%, 65.9%, 0%, 9%) |
| CIE-LAB | lab(43.86, 48.36, -75.61) |
| CIE-LCH | lch(43.86, 89.76, 302.60°) |
| OKLab | oklab(53.65% 0.0384 -0.2178) |
| OKLCH | oklch(53.65% 0.221 280) |
| XYZ | xyz(21.8711, 13.7437, 77.8286) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.50
Warm Blue
#4B57DB
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 4.83
Bluish Purple
#703BE7
ΔE00 5.15
Dark Periwinkle
#665FD1
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FE8 #DAE84F
analogous
#4F8DE8 #5D4FE8 #A94FE8
triadic
#5D4FE8 #E85D4F #4FE85D
tetradic
#5D4FE8 #E84F8D #DAE84F #4FE8A9
square
#5D4FE8 #E84F8D #DAE84F #4FE8A9
split-complementary
#5D4FE8 #E8A94F #8DE84F
monochromatic
#2316A7 #2E1DDD #5D4FE8 #8F85EF #C1BBF6
Accessibility & contrast
On white
5.60
#5D4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#5D4FE8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FE8
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FE8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FE8 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5d4fe8; /* rgb */ color: rgb(93, 79, 232); /* oklch */ color: oklch(53.6% 0.221 280.0);
Tailwind
colors: {
custom: {
50: '#9982f0',
500: '#5d4fe8',
950: '#000000',
},
}SCSS
$custom: #5d4fe8; $custom-light: #9982f0; $custom-dark: #000000;
JSON
{
"hex": "#5d4fe8",
"rgb": {
"r": 93,
"g": 79,
"b": 232
},
"hsl": {
"h": 245.49,
"s": 76.884,
"l": 60.98
},
"oklch": {
"l": 0.53649,
"c": 0.22117,
"h": 280
},
"luminance": 0.13745
}Semantic roles & 50–950 ramp
primary
#5D4FE8
secondary
#E1E6AD
accent
#D90CC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85