#5D5CF4#5D5CF4
#5D5CF4 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.221 H 277.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CF4 |
|---|---|
| RGB | rgb(93, 92, 244) |
| HSL | hsl(240, 87%, 66%) |
| HSV | hsv(240, 62%, 96%) |
| CMYK | cmyk(61.9%, 62.3%, 0%, 4.3%) |
| CIE-LAB | lab(47.64, 44.62, -76.19) |
| CIE-LCH | lch(47.64, 88.30, 300.35°) |
| OKLab | oklab(56.69% 0.0269 -0.2195) |
| OKLCH | oklch(56.69% 0.221 277) |
| XYZ | xyz(24.6652, 16.5111, 87.4576) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.68
Dark Periwinkle
#665FD1
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 5.52
Mediumslateblue
#7B68EE
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 5.58
Electric Blue
#0652FF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CF4 #F3F45C
analogous
#5CA7F4 #5D5CF4 #A95CF4
triadic
#5D5CF4 #F45D5C #5CF45D
tetradic
#5D5CF4 #F45CA7 #F3F45C #5CF4A9
square
#5D5CF4 #F45CA7 #F3F45C #5CF4A9
split-complementary
#5D5CF4 #F4A95C #A7F45C
monochromatic
#0F0EC8 #2423F0 #5D5CF4 #9695F8 #CFCFFC
Accessibility & contrast
On white
4.88
#5D5CF4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5D5CF4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CF4
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CF4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CF4 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d5cf4; /* rgb */ color: rgb(93, 92, 244); /* oklch */ color: oklch(56.7% 0.221 277.0);
Tailwind
colors: {
custom: {
50: '#9a8af9',
500: '#5d5cf4',
950: '#000000',
},
}SCSS
$custom: #5d5cf4; $custom-light: #9a8af9; $custom-dark: #000000;
JSON
{
"hex": "#5d5cf4",
"rgb": {
"r": 93,
"g": 92,
"b": 244
},
"hsl": {
"h": 240.395,
"s": 87.356,
"l": 65.882
},
"oklch": {
"l": 0.56693,
"c": 0.22111,
"h": 277
},
"luminance": 0.16513
}Semantic roles & 50–950 ramp
primary
#5D5CF4
secondary
#EFEFBD
accent
#E402E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85