#5D5CF9#5D5CF9
#5D5CF9 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.227 H 276.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CF9 |
|---|---|
| RGB | rgb(93, 92, 249) |
| HSL | hsl(240, 93%, 67%) |
| HSV | hsv(240, 63%, 98%) |
| CMYK | cmyk(62.7%, 63.1%, 0%, 2.4%) |
| CIE-LAB | lab(48.03, 46.21, -78.34) |
| CIE-LCH | lch(48.03, 90.96, 300.53°) |
| OKLab | oklab(57.1% 0.0265 -0.2258) |
| OKLCH | oklch(57.1% 0.227 276.7) |
| XYZ | xyz(25.4347, 16.8189, 91.5102) |
| Luminance | 0.1682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 5.22
Dark Periwinkle
#665FD1
ΔE00 5.25
Mediumslateblue
#7B68EE
ΔE00 5.50
Electric Blue
#0652FF
ΔE00 6.01
Light Indigo
#6D5ACF
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CF9 #F8F95C
analogous
#5CAAF9 #5D5CF9 #AC5CF9
triadic
#5D5CF9 #F95D5C #5CF95D
tetradic
#5D5CF9 #F95CAA #F8F95C #5CF9AC
square
#5D5CF9 #F95CAA #F8F95C #5CF9AC
split-complementary
#5D5CF9 #F9AC5C #AAF95C
monochromatic
#0908D3 #2221F7 #5D5CF9 #9897FB #D2D2FD
Accessibility & contrast
On white
4.81
#5D5CF9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5D5CF9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CF9
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CF9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CF9 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FE
Deuteranopia (green-blind)
#006BF6
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5d5cf9; /* rgb */ color: rgb(93, 92, 249); /* oklch */ color: oklch(57.1% 0.227 276.7);
Tailwind
colors: {
custom: {
50: '#9b8bfc',
500: '#5d5cf9',
950: '#000000',
},
}SCSS
$custom: #5d5cf9; $custom-light: #9b8bfc; $custom-dark: #000000;
JSON
{
"hex": "#5d5cf9",
"rgb": {
"r": 93,
"g": 92,
"b": 249
},
"hsl": {
"h": 240.382,
"s": 92.899,
"l": 66.863
},
"oklch": {
"l": 0.57102,
"c": 0.22734,
"h": 276.7
},
"luminance": 0.16821
}Semantic roles & 50–950 ramp
primary
#5D5CF9
secondary
#F1F2BF
accent
#E600E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86