#5D5EF9#5D5EF9
#5D5EF9 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.4% C 0.225 H 276.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5EF9 |
|---|---|
| RGB | rgb(93, 94, 249) |
| HSL | hsl(240, 93%, 67%) |
| HSV | hsv(240, 63%, 98%) |
| CMYK | cmyk(62.7%, 62.2%, 0%, 2.4%) |
| CIE-LAB | lab(48.47, 45.04, -77.62) |
| CIE-LCH | lch(48.47, 89.74, 300.13°) |
| OKLab | oklab(57.43% 0.025 -0.2237) |
| OKLCH | oklch(57.43% 0.225 276.4) |
| XYZ | xyz(25.6102, 17.1700, 91.5687) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 5.21
Dark Periwinkle
#665FD1
ΔE00 5.27
Warm Blue
#4B57DB
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 6.22
Electric Blue
#0652FF
ΔE00 6.26
Slate Blue
#6A5ACD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5EF9 #F9F85D
analogous
#5DACF9 #5D5EF9 #AA5DF9
triadic
#5D5EF9 #F95D5E #5EF95D
tetradic
#5D5EF9 #F95DAC #F9F85D #5DF9AA
square
#5D5EF9 #F95DAC #F9F85D #5DF9AA
split-complementary
#5D5EF9 #F9AA5D #ACF95D
monochromatic
#0809D4 #2223F7 #5D5EF9 #9899FB #D3D3FD
Accessibility & contrast
On white
4.74
#5D5EF9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5D5EF9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5EF9
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5EF9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5EF9 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFE
Deuteranopia (green-blind)
#006CF6
Tritanopia (blue-blind)
#0085A3
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5d5ef9; /* rgb */ color: rgb(93, 94, 249); /* oklch */ color: oklch(57.4% 0.225 276.4);
Tailwind
colors: {
custom: {
50: '#9b8cfc',
500: '#5d5ef9',
950: '#000000',
},
}SCSS
$custom: #5d5ef9; $custom-light: #9b8cfc; $custom-dark: #000000;
JSON
{
"hex": "#5d5ef9",
"rgb": {
"r": 93,
"g": 94,
"b": 249
},
"hsl": {
"h": 239.615,
"s": 92.857,
"l": 67.059
},
"oklch": {
"l": 0.57425,
"c": 0.22505,
"h": 276.4
},
"luminance": 0.17172
}Semantic roles & 50–950 ramp
primary
#5D5EF9
secondary
#F2F1C0
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86