#5A5BE6#5A5BE6
#5A5BE6 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.205 H 277.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BE6 |
|---|---|
| RGB | rgb(90, 91, 230) |
| HSL | hsl(240, 74%, 63%) |
| HSV | hsv(240, 61%, 90%) |
| CMYK | cmyk(60.9%, 60.4%, 0%, 9.8%) |
| CIE-LAB | lab(46.13, 40.27, -70.78) |
| CIE-LCH | lch(46.13, 81.44, 299.64°) |
| OKLab | oklab(55.2% 0.025 -0.2037) |
| OKLCH | oklch(55.2% 0.205 277) |
| XYZ | xyz(22.2358, 15.3673, 76.6420) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.37
Slate Blue
#6A5ACD
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.38
Iris
#6258C4
ΔE00 4.98
Electric Blue
#0652FF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BE6 #E6E55A
analogous
#5AA1E6 #5A5BE6 #9F5AE6
triadic
#5A5BE6 #E65A5B #5BE65A
tetradic
#5A5BE6 #E65AA1 #E6E55A #5AE69F
square
#5A5BE6 #E65AA1 #E6E55A #5AE69F
split-complementary
#5A5BE6 #E69F5A #A1E65A
monochromatic
#1A1BAC #2526DE #5A5BE6 #8F90EE #C4C5F6
Accessibility & contrast
On white
5.15
#5A5BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#5A5BE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BE6
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BE6 | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5be6; /* rgb */ color: rgb(90, 91, 230); /* oklch */ color: oklch(55.2% 0.205 277.0);
Tailwind
colors: {
custom: {
50: '#9689ef',
500: '#5a5be6',
950: '#000000',
},
}SCSS
$custom: #5a5be6; $custom-light: #9689ef; $custom-dark: #000000;
JSON
{
"hex": "#5a5be6",
"rgb": {
"r": 90,
"g": 91,
"b": 230
},
"hsl": {
"h": 239.571,
"s": 73.684,
"l": 62.745
},
"oklch": {
"l": 0.55201,
"c": 0.2052,
"h": 277
},
"luminance": 0.15369
}Semantic roles & 50–950 ramp
primary
#5A5BE6
secondary
#E7E7B5
accent
#D410D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B17
muted
#7E7C85