#5A5CE4#5A5CE4
#5A5CE4 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.201 H 276.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CE4 |
|---|---|
| RGB | rgb(90, 92, 228) |
| HSL | hsl(239, 72%, 62%) |
| HSV | hsv(239, 61%, 89%) |
| CMYK | cmyk(60.5%, 59.6%, 0%, 10.6%) |
| CIE-LAB | lab(46.21, 39.03, -69.52) |
| CIE-LCH | lch(46.21, 79.73, 299.31°) |
| OKLab | oklab(55.21% 0.0242 -0.2) |
| OKLCH | oklch(55.21% 0.201 276.9) |
| XYZ | xyz(22.0427, 15.4277, 75.2000) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.86
Dark Periwinkle
#665FD1
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.32
Iris
#6258C4
ΔE00 4.84
Azul
#1D5DEC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CE4 #E4E25A
analogous
#5AA1E4 #5A5CE4 #9D5AE4
triadic
#5A5CE4 #E45A5C #5CE45A
tetradic
#5A5CE4 #E45AA1 #E4E25A #5AE49D
square
#5A5CE4 #E45AA1 #E4E25A #5AE49D
split-complementary
#5A5CE4 #E49D5A #A1E45A
monochromatic
#1C1EA8 #2528DB #5A5CE4 #8F90ED #C3C4F5
Accessibility & contrast
On white
5.14
#5A5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#5A5CE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CE4
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CE4 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5ce4; /* rgb */ color: rgb(90, 92, 228); /* oklch */ color: oklch(55.2% 0.201 276.9);
Tailwind
colors: {
custom: {
50: '#968aed',
500: '#5a5ce4',
950: '#000000',
},
}SCSS
$custom: #5a5ce4; $custom-light: #968aed; $custom-dark: #000000;
JSON
{
"hex": "#5a5ce4",
"rgb": {
"r": 90,
"g": 92,
"b": 228
},
"hsl": {
"h": 239.13,
"s": 71.875,
"l": 62.353
},
"oklch": {
"l": 0.55214,
"c": 0.20142,
"h": 276.9
},
"luminance": 0.15429
}Semantic roles & 50–950 ramp
primary
#5A5CE4
secondary
#E6E5B4
accent
#D112D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84