#5D5FED#5D5FED
#5D5FED is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.6% C 0.209 H 276.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FED |
|---|---|
| RGB | rgb(93, 95, 237) |
| HSL | hsl(239, 80%, 65%) |
| HSV | hsv(239, 61%, 93%) |
| CMYK | cmyk(60.8%, 59.9%, 0%, 7.1%) |
| CIE-LAB | lab(47.78, 40.61, -72.03) |
| CIE-LCH | lch(47.78, 82.69, 299.41°) |
| OKLab | oklab(56.63% 0.0248 -0.2072) |
| OKLCH | oklch(56.63% 0.209 276.8) |
| XYZ | xyz(23.8875, 16.6241, 82.0543) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.92
Warm Blue
#4B57DB
ΔE00 4.37
Slate Blue
#6A5ACD
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.16
Mediumslateblue
#7B68EE
ΔE00 5.34
Royal Blue
#4169E1
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FED #EDEB5D
analogous
#5DA7ED #5D5FED #A35DED
triadic
#5D5FED #ED5D5F #5FED5D
tetradic
#5D5FED #ED5DA7 #EDEB5D #5DEDA3
square
#5D5FED #ED5DA7 #EDEB5D #5DEDA3
split-complementary
#5D5FED #EDA35D #A7ED5D
monochromatic
#1517BB #2629E7 #5D5FED #9495F3 #CBCCF9
Accessibility & contrast
On white
4.86
#5D5FED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#5D5FED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FED
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FED | 1.00 | 4.86 | 4.33 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d5fed; /* rgb */ color: rgb(93, 95, 237); /* oklch */ color: oklch(56.6% 0.209 276.8);
Tailwind
colors: {
custom: {
50: '#998cf4',
500: '#5d5fed',
950: '#000000',
},
}SCSS
$custom: #5d5fed; $custom-light: #998cf4; $custom-dark: #000000;
JSON
{
"hex": "#5d5fed",
"rgb": {
"r": 93,
"g": 95,
"b": 237
},
"hsl": {
"h": 239.167,
"s": 80,
"l": 64.706
},
"oklch": {
"l": 0.56632,
"c": 0.20871,
"h": 276.8
},
"luminance": 0.16626
}Semantic roles & 50–950 ramp
primary
#5D5FED
secondary
#ECEBBA
accent
#D909DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85