#5D5AEB#5D5AEB
#5D5AEB is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.212 H 277.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5AEB |
|---|---|
| RGB | rgb(93, 90, 235) |
| HSL | hsl(241, 78%, 64%) |
| HSV | hsv(241, 62%, 92%) |
| CMYK | cmyk(60.4%, 61.7%, 0%, 7.8%) |
| CIE-LAB | lab(46.49, 42.94, -73.01) |
| CIE-LCH | lch(46.49, 84.70, 300.46°) |
| OKLab | oklab(55.64% 0.0291 -0.2101) |
| OKLCH | oklch(55.64% 0.212 277.9) |
| XYZ | xyz(23.1609, 15.6359, 80.3787) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.60
Dark Periwinkle
#665FD1
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.50
Iris
#6258C4
ΔE00 5.46
Electric Blue
#0652FF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5AEB #E8EB5A
analogous
#5A9FEB #5D5AEB #A55AEB
triadic
#5D5AEB #EB5D5A #5AEB5D
tetradic
#5D5AEB #EB5A9F #E8EB5A #5AEBA5
square
#5D5AEB #EB5A9F #E8EB5A #5AEBA5
split-complementary
#5D5AEB #EBA55A #9FEB5A
monochromatic
#1916B5 #2723E4 #5D5AEB #9391F2 #C8C7F8
Accessibility & contrast
On white
5.09
#5D5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5D5AEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5AEB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5AEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5AEB | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5d5aeb; /* rgb */ color: rgb(93, 90, 235); /* oklch */ color: oklch(55.6% 0.212 277.9);
Tailwind
colors: {
custom: {
50: '#9989f2',
500: '#5d5aeb',
950: '#000000',
},
}SCSS
$custom: #5d5aeb; $custom-light: #9989f2; $custom-dark: #000000;
JSON
{
"hex": "#5d5aeb",
"rgb": {
"r": 93,
"g": 90,
"b": 235
},
"hsl": {
"h": 241.241,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.55637,
"c": 0.21215,
"h": 277.9
},
"luminance": 0.15638
}Semantic roles & 50–950 ramp
primary
#5D5AEB
secondary
#E9EAB7
accent
#DB0BD6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85