#5A5CE5#5A5CE5
#5A5CE5 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.3% C 0.203 H 276.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CE5 |
|---|---|
| RGB | rgb(90, 92, 229) |
| HSL | hsl(239, 73%, 63%) |
| HSV | hsv(239, 61%, 90%) |
| CMYK | cmyk(60.7%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(46.29, 39.35, -69.96) |
| CIE-LCH | lch(46.29, 80.27, 299.36°) |
| OKLab | oklab(55.29% 0.0242 -0.2013) |
| OKLCH | oklch(55.29% 0.203 276.8) |
| XYZ | xyz(22.1819, 15.4834, 75.9332) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.94
Dark Periwinkle
#665FD1
ΔE00 3.22
Slate Blue
#6A5ACD
ΔE00 4.25
Light Indigo
#6D5ACF
ΔE00 4.39
Iris
#6258C4
ΔE00 4.96
Azul
#1D5DEC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CE5 #E5E35A
analogous
#5AA1E5 #5A5CE5 #9E5AE5
triadic
#5A5CE5 #E55A5C #5CE55A
tetradic
#5A5CE5 #E55AA1 #E5E35A #5AE59E
square
#5A5CE5 #E55AA1 #E5E35A #5AE59E
split-complementary
#5A5CE5 #E59E5A #A1E55A
monochromatic
#1B1DAA #2528DD #5A5CE5 #8F90ED #C4C4F6
Accessibility & contrast
On white
5.13
#5A5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5A5CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CE5
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CE5 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 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: #5a5ce5; /* rgb */ color: rgb(90, 92, 229); /* oklch */ color: oklch(55.3% 0.203 276.8);
Tailwind
colors: {
custom: {
50: '#968aee',
500: '#5a5ce5',
950: '#000000',
},
}SCSS
$custom: #5a5ce5; $custom-light: #968aee; $custom-dark: #000000;
JSON
{
"hex": "#5a5ce5",
"rgb": {
"r": 90,
"g": 92,
"b": 229
},
"hsl": {
"h": 239.137,
"s": 72.775,
"l": 62.549
},
"oklch": {
"l": 0.55292,
"c": 0.20271,
"h": 276.8
},
"luminance": 0.15485
}Semantic roles & 50–950 ramp
primary
#5A5CE5
secondary
#E7E6B4
accent
#D211D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84