#5D5CF5#5D5CF5
#5D5CF5 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.222 H 276.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CF5 |
|---|---|
| RGB | rgb(93, 92, 245) |
| HSL | hsl(240, 88%, 66%) |
| HSV | hsv(240, 62%, 96%) |
| CMYK | cmyk(62%, 62.4%, 0%, 3.9%) |
| CIE-LAB | lab(47.72, 44.94, -76.62) |
| CIE-LCH | lch(47.72, 88.83, 300.39°) |
| OKLab | oklab(56.77% 0.0268 -0.2207) |
| OKLCH | oklch(56.77% 0.222 276.9) |
| XYZ | xyz(24.8174, 16.5720, 88.2594) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.78
Dark Periwinkle
#665FD1
ΔE00 4.80
Mediumslateblue
#7B68EE
ΔE00 5.55
Light Indigo
#6D5ACF
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 5.69
Electric Blue
#0652FF
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CF5 #F4F55C
analogous
#5CA7F5 #5D5CF5 #A95CF5
triadic
#5D5CF5 #F55D5C #5CF55D
tetradic
#5D5CF5 #F55CA7 #F4F55C #5CF5A9
square
#5D5CF5 #F55CA7 #F4F55C #5CF5A9
split-complementary
#5D5CF5 #F5A95C #A7F55C
monochromatic
#0E0CCA #2422F1 #5D5CF5 #9696F9 #D0CFFC
Accessibility & contrast
On white
4.87
#5D5CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#5D5CF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CF5
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CF5 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d5cf5; /* rgb */ color: rgb(93, 92, 245); /* oklch */ color: oklch(56.8% 0.222 276.9);
Tailwind
colors: {
custom: {
50: '#9a8afa',
500: '#5d5cf5',
950: '#000000',
},
}SCSS
$custom: #5d5cf5; $custom-light: #9a8afa; $custom-dark: #000000;
JSON
{
"hex": "#5d5cf5",
"rgb": {
"r": 93,
"g": 92,
"b": 245
},
"hsl": {
"h": 240.392,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.56774,
"c": 0.22236,
"h": 276.9
},
"luminance": 0.16574
}Semantic roles & 50–950 ramp
primary
#5D5CF5
secondary
#EFF0BD
accent
#E500E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85