#5A5CE7#5A5CE7
#5A5CE7 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.5% C 0.205 H 276.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CE7 |
|---|---|
| RGB | rgb(90, 92, 231) |
| HSL | hsl(239, 75%, 63%) |
| HSV | hsv(239, 61%, 91%) |
| CMYK | cmyk(61%, 60.2%, 0%, 9.4%) |
| CIE-LAB | lab(46.44, 40.00, -70.85) |
| CIE-LCH | lch(46.44, 81.36, 299.45°) |
| OKLab | oklab(55.45% 0.0241 -0.2039) |
| OKLCH | oklch(55.45% 0.205 276.7) |
| XYZ | xyz(22.4627, 15.5957, 77.4124) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.11
Dark Periwinkle
#665FD1
ΔE00 3.41
Slate Blue
#6A5ACD
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 4.54
Iris
#6258C4
ΔE00 5.19
Electric Blue
#0652FF
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CE7 #E7E55A
analogous
#5AA2E7 #5A5CE7 #9E5AE7
triadic
#5A5CE7 #E75A5C #5CE75A
tetradic
#5A5CE7 #E75AA2 #E7E55A #5AE79E
square
#5A5CE7 #E75AA2 #E7E55A #5AE79E
split-complementary
#5A5CE7 #E79E5A #A2E75A
monochromatic
#191BAD #2527DF #5A5CE7 #8F91EF #C5C6F7
Accessibility & contrast
On white
5.10
#5A5CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5A5CE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CE7
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CE7 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5ce7; /* rgb */ color: rgb(90, 92, 231); /* oklch */ color: oklch(55.5% 0.205 276.7);
Tailwind
colors: {
custom: {
50: '#968af0',
500: '#5a5ce7',
950: '#000000',
},
}SCSS
$custom: #5a5ce7; $custom-light: #968af0; $custom-dark: #000000;
JSON
{
"hex": "#5a5ce7",
"rgb": {
"r": 90,
"g": 92,
"b": 231
},
"hsl": {
"h": 239.149,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.5545,
"c": 0.20528,
"h": 276.7
},
"luminance": 0.15597
}Semantic roles & 50–950 ramp
primary
#5A5CE7
secondary
#E8E7B5
accent
#D40FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85