#5A5BE7#5A5BE7
#5A5BE7 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.3% C 0.206 H 276.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BE7 |
|---|---|
| RGB | rgb(90, 91, 231) |
| HSL | hsl(240, 75%, 63%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(61%, 60.6%, 0%, 9.4%) |
| CIE-LAB | lab(46.21, 40.60, -71.22) |
| CIE-LCH | lch(46.21, 81.98, 299.68°) |
| OKLab | oklab(55.28% 0.025 -0.205) |
| OKLCH | oklch(55.28% 0.206 276.9) |
| XYZ | xyz(22.3767, 15.4236, 77.3837) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.99
Dark Periwinkle
#665FD1
ΔE00 3.46
Slate Blue
#6A5ACD
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.46
Iris
#6258C4
ΔE00 5.09
Electric Blue
#0652FF
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BE7 #E7E65A
analogous
#5AA2E7 #5A5BE7 #9F5AE7
triadic
#5A5BE7 #E75A5B #5BE75A
tetradic
#5A5BE7 #E75AA2 #E7E65A #5AE79F
square
#5A5BE7 #E75AA2 #E7E65A #5AE79F
split-complementary
#5A5BE7 #E79F5A #A2E75A
monochromatic
#191AAD #2526DF #5A5BE7 #8F90EF #C5C5F7
Accessibility & contrast
On white
5.14
#5A5BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#5A5BE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BE7
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BE7 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5be7; /* rgb */ color: rgb(90, 91, 231); /* oklch */ color: oklch(55.3% 0.206 276.9);
Tailwind
colors: {
custom: {
50: '#9689f0',
500: '#5a5be7',
950: '#000000',
},
}SCSS
$custom: #5a5be7; $custom-light: #9689f0; $custom-dark: #000000;
JSON
{
"hex": "#5a5be7",
"rgb": {
"r": 90,
"g": 91,
"b": 231
},
"hsl": {
"h": 239.574,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.5528,
"c": 0.20648,
"h": 276.9
},
"luminance": 0.15425
}Semantic roles & 50–950 ramp
primary
#5A5BE7
secondary
#E8E7B5
accent
#D50FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85