#5B5AEE#5B5AEE
#5B5AEE is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.216 H 277.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AEE |
|---|---|
| RGB | rgb(91, 90, 238) |
| HSL | hsl(240, 81%, 64%) |
| HSV | hsv(240, 62%, 93%) |
| CMYK | cmyk(61.8%, 62.2%, 0%, 6.7%) |
| CIE-LAB | lab(46.59, 43.59, -74.55) |
| CIE-LCH | lch(46.59, 86.35, 300.31°) |
| OKLab | oklab(55.74% 0.0266 -0.2147) |
| OKLCH | oklch(55.74% 0.216 277.1) |
| XYZ | xyz(23.3982, 15.7077, 82.6712) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 4.92
Electric Blue
#0652FF
ΔE00 5.44
Iris
#6258C4
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AEE #EDEE5A
analogous
#5AA3EE #5B5AEE #A55AEE
triadic
#5B5AEE #EE5B5A #5AEE5B
tetradic
#5B5AEE #EE5AA3 #EDEE5A #5AEEA5
square
#5B5AEE #EE5AA3 #EDEE5A #5AEEA5
split-complementary
#5B5AEE #EEA55A #A3EE5A
monochromatic
#1413BA #2423E8 #5B5AEE #9291F4 #C9C9F9
Accessibility & contrast
On white
5.07
#5B5AEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5B5AEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AEE
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AEE | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5aee; /* rgb */ color: rgb(91, 90, 238); /* oklch */ color: oklch(55.7% 0.216 277.1);
Tailwind
colors: {
custom: {
50: '#9889f5',
500: '#5b5aee',
950: '#000000',
},
}SCSS
$custom: #5b5aee; $custom-light: #9889f5; $custom-dark: #000000;
JSON
{
"hex": "#5b5aee",
"rgb": {
"r": 91,
"g": 90,
"b": 238
},
"hsl": {
"h": 240.405,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.55744,
"c": 0.21635,
"h": 277.1
},
"luminance": 0.1571
}Semantic roles & 50–950 ramp
primary
#5B5AEE
secondary
#EBECB8
accent
#DE08DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85