#5B5AE4#5B5AE4
#5B5AE4 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.204 H 277.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AE4 |
|---|---|
| RGB | rgb(91, 90, 228) |
| HSL | hsl(240, 72%, 62%) |
| HSV | hsv(240, 61%, 89%) |
| CMYK | cmyk(60.1%, 60.5%, 0%, 10.6%) |
| CIE-LAB | lab(45.82, 40.39, -70.16) |
| CIE-LCH | lch(45.82, 80.95, 299.93°) |
| OKLab | oklab(54.94% 0.0271 -0.2018) |
| OKLCH | oklch(54.94% 0.204 277.7) |
| XYZ | xyz(21.9696, 15.1362, 75.1476) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.76
Dark Periwinkle
#665FD1
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 3.93
Light Indigo
#6D5ACF
ΔE00 4.07
Iris
#6258C4
ΔE00 4.63
Electric Blue
#0652FF
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AE4 #E3E45A
analogous
#5A9EE4 #5B5AE4 #A05AE4
triadic
#5B5AE4 #E45B5A #5AE45B
tetradic
#5B5AE4 #E45A9E #E3E45A #5AE4A0
square
#5B5AE4 #E45A9E #E3E45A #5AE4A0
split-complementary
#5B5AE4 #E4A05A #9EE45A
monochromatic
#1D1CA8 #2725DB #5B5AE4 #8F8FED #C4C3F5
Accessibility & contrast
On white
5.21
#5B5AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5B5AE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AE4
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AE4 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b5ae4; /* rgb */ color: rgb(91, 90, 228); /* oklch */ color: oklch(54.9% 0.204 277.7);
Tailwind
colors: {
custom: {
50: '#9689ed',
500: '#5b5ae4',
950: '#000000',
},
}SCSS
$custom: #5b5ae4; $custom-light: #9689ed; $custom-dark: #000000;
JSON
{
"hex": "#5b5ae4",
"rgb": {
"r": 91,
"g": 90,
"b": 228
},
"hsl": {
"h": 240.435,
"s": 71.875,
"l": 62.353
},
"oklch": {
"l": 0.54941,
"c": 0.20363,
"h": 277.7
},
"luminance": 0.15138
}Semantic roles & 50–950 ramp
primary
#5B5AE4
secondary
#E6E6B4
accent
#D412D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84