#5D5AEE#5D5AEE
#5D5AEE is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.216 H 277.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5AEE |
|---|---|
| RGB | rgb(93, 90, 238) |
| HSL | hsl(241, 81%, 64%) |
| HSV | hsv(241, 62%, 93%) |
| CMYK | cmyk(60.9%, 62.2%, 0%, 6.7%) |
| CIE-LAB | lab(46.73, 43.89, -74.32) |
| CIE-LCH | lch(46.73, 86.31, 300.56°) |
| OKLab | oklab(55.88% 0.0289 -0.214) |
| OKLCH | oklch(55.88% 0.216 277.7) |
| XYZ | xyz(23.5980, 15.8107, 82.6806) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 4.81
Electric Blue
#0652FF
ΔE00 5.68
Iris
#6258C4
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5AEE #EBEE5A
analogous
#5AA1EE #5D5AEE #A75AEE
triadic
#5D5AEE #EE5D5A #5AEE5D
tetradic
#5D5AEE #EE5AA1 #EBEE5A #5AEEA7
square
#5D5AEE #EE5AA1 #EBEE5A #5AEEA7
split-complementary
#5D5AEE #EEA75A #A1EE5A
monochromatic
#1713BA #2723E8 #5D5AEE #9391F4 #CAC9F9
Accessibility & contrast
On white
5.04
#5D5AEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5D5AEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5AEE
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5AEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5AEE | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5d5aee; /* rgb */ color: rgb(93, 90, 238); /* oklch */ color: oklch(55.9% 0.216 277.7);
Tailwind
colors: {
custom: {
50: '#9989f5',
500: '#5d5aee',
950: '#000000',
},
}SCSS
$custom: #5d5aee; $custom-light: #9989f5; $custom-dark: #000000;
JSON
{
"hex": "#5d5aee",
"rgb": {
"r": 93,
"g": 90,
"b": 238
},
"hsl": {
"h": 241.216,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.5588,
"c": 0.21593,
"h": 277.7
},
"luminance": 0.15813
}Semantic roles & 50–950 ramp
primary
#5D5AEE
secondary
#EBECB8
accent
#DE08D9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85