#5D5DF7#5D5DF7
#5D5DF7 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.224 H 276.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DF7 |
|---|---|
| RGB | rgb(93, 93, 247) |
| HSL | hsl(240, 91%, 67%) |
| HSV | hsv(240, 62%, 97%) |
| CMYK | cmyk(62.3%, 62.3%, 0%, 3.1%) |
| CIE-LAB | lab(48.09, 44.99, -77.12) |
| CIE-LCH | lch(48.09, 89.29, 300.26°) |
| OKLab | oklab(57.1% 0.0259 -0.2222) |
| OKLCH | oklch(57.1% 0.224 276.6) |
| XYZ | xyz(25.2116, 16.8692, 89.9051) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.03
Warm Blue
#4B57DB
ΔE00 5.10
Mediumslateblue
#7B68EE
ΔE00 5.37
Light Indigo
#6D5ACF
ΔE00 5.91
Slate Blue
#6A5ACD
ΔE00 6.00
Electric Blue
#0652FF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DF7 #F7F75D
analogous
#5DAAF7 #5D5DF7 #AA5DF7
triadic
#5D5DF7 #F75D5D #5DF75D
tetradic
#5D5DF7 #F75DAA #F7F75D #5DF7AA
square
#5D5DF7 #F75DAA #F7F75D #5DF7AA
split-complementary
#5D5DF7 #F7AA5D #AAF75D
monochromatic
#0A0ACF #2323F4 #5D5DF7 #9797FA #D2D2FD
Accessibility & contrast
On white
4.80
#5D5DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5D5DF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DF7
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DF7 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5d5df7; /* rgb */ color: rgb(93, 93, 247); /* oklch */ color: oklch(57.1% 0.224 276.6);
Tailwind
colors: {
custom: {
50: '#9a8bfb',
500: '#5d5df7',
950: '#000000',
},
}SCSS
$custom: #5d5df7; $custom-light: #9a8bfb; $custom-dark: #000000;
JSON
{
"hex": "#5d5df7",
"rgb": {
"r": 93,
"g": 93,
"b": 247
},
"hsl": {
"h": 240,
"s": 90.588,
"l": 66.667
},
"oklch": {
"l": 0.571,
"c": 0.2237,
"h": 276.6
},
"luminance": 0.16871
}Semantic roles & 50–950 ramp
primary
#5D5DF7
secondary
#F1F1BF
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86