#5A5DEB#5A5DEB
#5A5DEB is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 55.9% C 0.209 H 276.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5DEB |
|---|---|
| RGB | rgb(90, 93, 235) |
| HSL | hsl(239, 78%, 64%) |
| HSV | hsv(239, 62%, 92%) |
| CMYK | cmyk(61.7%, 60.4%, 0%, 7.8%) |
| CIE-LAB | lab(46.97, 40.69, -72.24) |
| CIE-LCH | lch(46.97, 82.91, 299.39°) |
| OKLab | oklab(55.94% 0.0231 -0.2079) |
| OKLCH | oklch(55.94% 0.209 276.3) |
| XYZ | xyz(23.1213, 15.9987, 80.4508) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.61
Dark Periwinkle
#665FD1
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 4.96
Electric Blue
#0652FF
ΔE00 5.66
Azul
#1D5DEC
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5DEB #EBE85A
analogous
#5AA5EB #5A5DEB #9F5AEB
triadic
#5A5DEB #EB5A5D #5DEB5A
tetradic
#5A5DEB #EB5AA5 #EBE85A #5AEB9F
square
#5A5DEB #EB5AA5 #EBE85A #5AEB9F
split-complementary
#5A5DEB #EB9F5A #A5EB5A
monochromatic
#1619B5 #2327E4 #5A5DEB #9193F2 #C7C8F8
Accessibility & contrast
On white
5.00
#5A5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5A5DEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5DEB
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5DEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5DEB | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a5deb; /* rgb */ color: rgb(90, 93, 235); /* oklch */ color: oklch(55.9% 0.209 276.3);
Tailwind
colors: {
custom: {
50: '#978bf2',
500: '#5a5deb',
950: '#000000',
},
}SCSS
$custom: #5a5deb; $custom-light: #978bf2; $custom-dark: #000000;
JSON
{
"hex": "#5a5deb",
"rgb": {
"r": 90,
"g": 93,
"b": 235
},
"hsl": {
"h": 238.759,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.55937,
"c": 0.20921,
"h": 276.3
},
"luminance": 0.16001
}Semantic roles & 50–950 ramp
primary
#5A5DEB
secondary
#EAE9B7
accent
#D60BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85