#5A5BEE#5A5BEE
#5A5BEE is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.215 H 276.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BEE |
|---|---|
| RGB | rgb(90, 91, 238) |
| HSL | hsl(240, 81%, 64%) |
| HSV | hsv(240, 62%, 93%) |
| CMYK | cmyk(62.2%, 61.8%, 0%, 6.7%) |
| CIE-LAB | lab(46.75, 42.85, -74.29) |
| CIE-LCH | lch(46.75, 85.76, 299.97°) |
| OKLab | oklab(55.84% 0.0246 -0.214) |
| OKLCH | oklch(55.84% 0.215 276.6) |
| XYZ | xyz(23.3851, 15.8270, 82.6949) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.68
Dark Periwinkle
#665FD1
ΔE00 4.15
Slate Blue
#6A5ACD
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.05
Electric Blue
#0652FF
ΔE00 5.42
Azul
#1D5DEC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BEE #EEED5A
analogous
#5AA5EE #5A5BEE #A35AEE
triadic
#5A5BEE #EE5A5B #5BEE5A
tetradic
#5A5BEE #EE5AA5 #EEED5A #5AEEA3
square
#5A5BEE #EE5AA5 #EEED5A #5AEEA3
split-complementary
#5A5BEE #EEA35A #A5EE5A
monochromatic
#1314BA #2324E8 #5A5BEE #9192F4 #C9C9F9
Accessibility & contrast
On white
5.04
#5A5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#5A5BEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BEE
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BEE | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a5bee; /* rgb */ color: rgb(90, 91, 238); /* oklch */ color: oklch(55.8% 0.215 276.6);
Tailwind
colors: {
custom: {
50: '#988af5',
500: '#5a5bee',
950: '#000000',
},
}SCSS
$custom: #5a5bee; $custom-light: #988af5; $custom-dark: #000000;
JSON
{
"hex": "#5a5bee",
"rgb": {
"r": 90,
"g": 91,
"b": 238
},
"hsl": {
"h": 239.595,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.55843,
"c": 0.21539,
"h": 276.6
},
"luminance": 0.15829
}Semantic roles & 50–950 ramp
primary
#5A5BEE
secondary
#ECEBB8
accent
#DC08DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0B17
muted
#7F7C85