#5D5CF1#5D5CF1
#5D5CF1 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.217 H 277.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CF1 |
|---|---|
| RGB | rgb(93, 92, 241) |
| HSL | hsl(240, 84%, 65%) |
| HSV | hsv(240, 62%, 95%) |
| CMYK | cmyk(61.4%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(47.41, 43.67, -74.89) |
| CIE-LCH | lch(47.41, 86.69, 300.24°) |
| OKLab | oklab(56.45% 0.0271 -0.2157) |
| OKLCH | oklch(56.45% 0.217 277.2) |
| XYZ | xyz(24.2134, 16.3304, 85.0781) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.36
Light Indigo
#6D5ACF
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.26
Mediumslateblue
#7B68EE
ΔE00 5.65
Electric Blue
#0652FF
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CF1 #F0F15C
analogous
#5CA5F1 #5D5CF1 #A85CF1
triadic
#5D5CF1 #F15D5C #5CF15D
tetradic
#5D5CF1 #F15CA5 #F0F15C #5CF1A8
square
#5D5CF1 #F15CA5 #F0F15C #5CF1A8
split-complementary
#5D5CF1 #F1A85C #A5F15C
monochromatic
#1211C2 #2524EC #5D5CF1 #9594F6 #CDCDFB
Accessibility & contrast
On white
4.92
#5D5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#5D5CF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CF1
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CF1 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5d5cf1; /* rgb */ color: rgb(93, 92, 241); /* oklch */ color: oklch(56.5% 0.217 277.2);
Tailwind
colors: {
custom: {
50: '#998af7',
500: '#5d5cf1',
950: '#000000',
},
}SCSS
$custom: #5d5cf1; $custom-light: #998af7; $custom-dark: #000000;
JSON
{
"hex": "#5d5cf1",
"rgb": {
"r": 93,
"g": 92,
"b": 241
},
"hsl": {
"h": 240.403,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.5645,
"c": 0.21735,
"h": 277.2
},
"luminance": 0.16332
}Semantic roles & 50–950 ramp
primary
#5D5CF1
secondary
#EDEEBB
accent
#E105DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85