#5D5FE4#5D5FE4
#5D5FE4 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.9% C 0.197 H 277.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FE4 |
|---|---|
| RGB | rgb(93, 95, 228) |
| HSL | hsl(239, 71%, 63%) |
| HSV | hsv(239, 59%, 89%) |
| CMYK | cmyk(59.2%, 58.3%, 0%, 10.6%) |
| CIE-LAB | lab(47.12, 37.72, -68.04) |
| CIE-LCH | lch(47.12, 77.79, 299.00°) |
| OKLab | oklab(55.94% 0.025 -0.1955) |
| OKLCH | oklch(55.94% 0.197 277.3) |
| XYZ | xyz(22.6055, 16.1113, 75.3023) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.92
Warm Blue
#4B57DB
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.40
Iris
#6258C4
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FE4 #E4E25D
analogous
#5DA2E4 #5D5FE4 #9E5DE4
triadic
#5D5FE4 #E45D5F #5FE45D
tetradic
#5D5FE4 #E45DA2 #E4E25D #5DE49E
square
#5D5FE4 #E45DA2 #E4E25D #5DE49E
split-complementary
#5D5FE4 #E49E5D #A2E45D
monochromatic
#1C1EAA #292BDB #5D5FE4 #9193ED #C6C7F5
Accessibility & contrast
On white
4.97
#5D5FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5D5FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FE4
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FE4 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5d5fe4; /* rgb */ color: rgb(93, 95, 228); /* oklch */ color: oklch(55.9% 0.197 277.3);
Tailwind
colors: {
custom: {
50: '#978ced',
500: '#5d5fe4',
950: '#000000',
},
}SCSS
$custom: #5d5fe4; $custom-light: #978ced; $custom-dark: #000000;
JSON
{
"hex": "#5d5fe4",
"rgb": {
"r": 93,
"g": 95,
"b": 228
},
"hsl": {
"h": 239.111,
"s": 71.429,
"l": 62.941
},
"oklch": {
"l": 0.55935,
"c": 0.19709,
"h": 277.3
},
"luminance": 0.16113
}Semantic roles & 50–950 ramp
primary
#5D5FE4
secondary
#E7E6B6
accent
#D112D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84