#5D5FF4#5D5FF4
#5D5FF4 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.218 H 276.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FF4 |
|---|---|
| RGB | rgb(93, 95, 244) |
| HSL | hsl(239, 87%, 66%) |
| HSV | hsv(239, 62%, 96%) |
| CMYK | cmyk(61.9%, 61.1%, 0%, 4.3%) |
| CIE-LAB | lab(48.31, 42.85, -75.09) |
| CIE-LCH | lch(48.31, 86.46, 299.71°) |
| OKLab | oklab(57.19% 0.0245 -0.2162) |
| OKLCH | oklch(57.19% 0.218 276.5) |
| XYZ | xyz(24.9302, 17.0412, 87.5459) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 5.05
Mediumslateblue
#7B68EE
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.83
Slate Blue
#6A5ACD
ΔE00 5.89
Electric Blue
#0652FF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FF4 #F4F25D
analogous
#5DAAF4 #5D5FF4 #A65DF4
triadic
#5D5FF4 #F45D5F #5FF45D
tetradic
#5D5FF4 #F45DAA #F4F25D #5DF4A6
square
#5D5FF4 #F45DAA #F4F25D #5DF4A6
split-complementary
#5D5FF4 #F4A65D #AAF45D
monochromatic
#0E10C9 #2426F0 #5D5FF4 #9698F8 #D0D0FC
Accessibility & contrast
On white
4.76
#5D5FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#5D5FF4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FF4
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FF4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FF4 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5d5ff4; /* rgb */ color: rgb(93, 95, 244); /* oklch */ color: oklch(57.2% 0.218 276.5);
Tailwind
colors: {
custom: {
50: '#9a8df9',
500: '#5d5ff4',
950: '#000000',
},
}SCSS
$custom: #5d5ff4; $custom-light: #9a8df9; $custom-dark: #000000;
JSON
{
"hex": "#5d5ff4",
"rgb": {
"r": 93,
"g": 95,
"b": 244
},
"hsl": {
"h": 239.205,
"s": 87.283,
"l": 66.078
},
"oklch": {
"l": 0.57187,
"c": 0.21761,
"h": 276.5
},
"luminance": 0.17043
}Semantic roles & 50–950 ramp
primary
#5D5FF4
secondary
#EFEFBE
accent
#E102E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85