#5A5DE5#5A5DE5
#5A5DE5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.5% C 0.201 H 276.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5DE5 |
|---|---|
| RGB | rgb(90, 93, 229) |
| HSL | hsl(239, 73%, 63%) |
| HSV | hsv(239, 61%, 90%) |
| CMYK | cmyk(60.7%, 59.4%, 0%, 10.2%) |
| CIE-LAB | lab(46.52, 38.75, -69.58) |
| CIE-LCH | lch(46.52, 79.65, 299.11°) |
| OKLab | oklab(55.46% 0.0233 -0.2001) |
| OKLCH | oklch(55.46% 0.201 276.6) |
| XYZ | xyz(22.2691, 15.6578, 75.9623) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.09
Dark Periwinkle
#665FD1
ΔE00 3.19
Slate Blue
#6A5ACD
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.50
Iris
#6258C4
ΔE00 5.07
Azul
#1D5DEC
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5DE5 #E5E25A
analogous
#5AA3E5 #5A5DE5 #9C5AE5
triadic
#5A5DE5 #E55A5D #5DE55A
tetradic
#5A5DE5 #E55AA3 #E5E25A #5AE59C
square
#5A5DE5 #E55AA3 #E5E25A #5AE59C
split-complementary
#5A5DE5 #E59C5A #A3E55A
monochromatic
#1B1EAA #2529DD #5A5DE5 #8F91ED #C4C5F6
Accessibility & contrast
On white
5.08
#5A5DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5A5DE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5DE5
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5DE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5DE5 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5de5; /* rgb */ color: rgb(90, 93, 229); /* oklch */ color: oklch(55.5% 0.201 276.6);
Tailwind
colors: {
custom: {
50: '#968bee',
500: '#5a5de5',
950: '#000000',
},
}SCSS
$custom: #5a5de5; $custom-light: #968bee; $custom-dark: #000000;
JSON
{
"hex": "#5a5de5",
"rgb": {
"r": 90,
"g": 93,
"b": 229
},
"hsl": {
"h": 238.705,
"s": 72.775,
"l": 62.549
},
"oklch": {
"l": 0.55464,
"c": 0.20149,
"h": 276.6
},
"luminance": 0.1566
}Semantic roles & 50–950 ramp
primary
#5A5DE5
secondary
#E7E6B4
accent
#D111D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84