#5A5CE8#5A5CE8
#5A5CE8 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.5% C 0.207 H 276.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CE8 |
|---|---|
| RGB | rgb(90, 92, 232) |
| HSL | hsl(239, 76%, 63%) |
| HSV | hsv(239, 61%, 91%) |
| CMYK | cmyk(61.2%, 60.3%, 0%, 9%) |
| CIE-LAB | lab(46.52, 40.32, -71.29) |
| CIE-LCH | lch(46.52, 81.90, 299.49°) |
| OKLab | oklab(55.53% 0.0241 -0.2052) |
| OKLCH | oklch(55.53% 0.207 276.7) |
| XYZ | xyz(22.6044, 15.6524, 78.1583) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.20
Dark Periwinkle
#665FD1
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 4.62
Iris
#6258C4
ΔE00 5.31
Electric Blue
#0652FF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CE8 #E8E65A
analogous
#5AA3E8 #5A5CE8 #9F5AE8
triadic
#5A5CE8 #E85A5C #5CE85A
tetradic
#5A5CE8 #E85AA3 #E8E65A #5AE89F
square
#5A5CE8 #E85AA3 #E8E65A #5AE89F
split-complementary
#5A5CE8 #E89F5A #A3E85A
monochromatic
#181BAF #2427E1 #5A5CE8 #9091EF #C5C6F7
Accessibility & contrast
On white
5.08
#5A5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5A5CE8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CE8
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CE8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CE8 | 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)
#0074ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5ce8; /* rgb */ color: rgb(90, 92, 232); /* oklch */ color: oklch(55.5% 0.207 276.7);
Tailwind
colors: {
custom: {
50: '#968af0',
500: '#5a5ce8',
950: '#000000',
},
}SCSS
$custom: #5a5ce8; $custom-light: #968af0; $custom-dark: #000000;
JSON
{
"hex": "#5a5ce8",
"rgb": {
"r": 90,
"g": 92,
"b": 232
},
"hsl": {
"h": 239.155,
"s": 75.532,
"l": 63.137
},
"oklch": {
"l": 0.55529,
"c": 0.20657,
"h": 276.7
},
"luminance": 0.15654
}Semantic roles & 50–950 ramp
primary
#5A5CE8
secondary
#E8E8B5
accent
#D50ED8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85