#5B5AE1#5B5AE1
#5B5AE1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.7% C 0.200 H 277.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AE1 |
|---|---|
| RGB | rgb(91, 90, 225) |
| HSL | hsl(240, 69%, 62%) |
| HSV | hsv(240, 60%, 88%) |
| CMYK | cmyk(59.6%, 60%, 0%, 11.8%) |
| CIE-LAB | lab(45.59, 39.43, -68.83) |
| CIE-LCH | lch(45.59, 79.32, 299.81°) |
| OKLab | oklab(54.7% 0.0272 -0.1979) |
| OKLCH | oklch(54.7% 0.2 277.8) |
| XYZ | xyz(21.5568, 14.9711, 72.9733) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.55
Dark Periwinkle
#665FD1
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 3.85
Iris
#6258C4
ΔE00 4.27
Electric Blue
#0652FF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AE1 #E0E15A
analogous
#5A9DE1 #5B5AE1 #9E5AE1
triadic
#5B5AE1 #E15B5A #5AE15B
tetradic
#5B5AE1 #E15A9D #E0E15A #5AE19E
square
#5B5AE1 #E15A9D #E0E15A #5AE19E
split-complementary
#5B5AE1 #E19E5A #9DE15A
monochromatic
#1F1EA3 #2827D7 #5B5AE1 #8E8EEA #C2C2F4
Accessibility & contrast
On white
5.26
#5B5AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#5B5AE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AE1
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AE1 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b5ae1; /* rgb */ color: rgb(91, 90, 225); /* oklch */ color: oklch(54.7% 0.200 277.8);
Tailwind
colors: {
custom: {
50: '#9689eb',
500: '#5b5ae1',
950: '#000000',
},
}SCSS
$custom: #5b5ae1; $custom-light: #9689eb; $custom-dark: #000000;
JSON
{
"hex": "#5b5ae1",
"rgb": {
"r": 91,
"g": 90,
"b": 225
},
"hsl": {
"h": 240.444,
"s": 69.231,
"l": 61.765
},
"oklch": {
"l": 0.54704,
"c": 0.19977,
"h": 277.8
},
"luminance": 0.14973
}Semantic roles & 50–950 ramp
primary
#5B5AE1
secondary
#E4E4B2
accent
#D114D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84