#5B5BE7#5B5BE7
#5B5BE7 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.3% C 0.206 H 277.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BE7 |
|---|---|
| RGB | rgb(91, 91, 231) |
| HSL | hsl(240, 74%, 63%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(60.6%, 60.6%, 0%, 9.4%) |
| CIE-LAB | lab(46.28, 40.75, -71.11) |
| CIE-LCH | lch(46.28, 81.96, 299.82°) |
| OKLab | oklab(55.35% 0.0261 -0.2046) |
| OKLCH | oklch(55.35% 0.206 277.3) |
| XYZ | xyz(22.4746, 15.4741, 77.3883) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.10
Dark Periwinkle
#665FD1
ΔE00 3.41
Slate Blue
#6A5ACD
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.37
Iris
#6258C4
ΔE00 5.07
Electric Blue
#0652FF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BE7 #E7E75B
analogous
#5BA1E7 #5B5BE7 #A15BE7
triadic
#5B5BE7 #E75B5B #5BE75B
tetradic
#5B5BE7 #E75BA1 #E7E75B #5BE7A1
square
#5B5BE7 #E75BA1 #E7E75B #5BE7A1
split-complementary
#5B5BE7 #E7A15B #A1E75B
monochromatic
#1919AE #2626DF #5B5BE7 #9090EF #C6C6F7
Accessibility & contrast
On white
5.13
#5B5BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5B5BE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BE7
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BE7 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5be7; /* rgb */ color: rgb(91, 91, 231); /* oklch */ color: oklch(55.3% 0.206 277.3);
Tailwind
colors: {
custom: {
50: '#978af0',
500: '#5b5be7',
950: '#000000',
},
}SCSS
$custom: #5b5be7; $custom-light: #978af0; $custom-dark: #000000;
JSON
{
"hex": "#5b5be7",
"rgb": {
"r": 91,
"g": 91,
"b": 231
},
"hsl": {
"h": 240,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.55348,
"c": 0.20627,
"h": 277.3
},
"luminance": 0.15476
}Semantic roles & 50–950 ramp
primary
#5B5BE7
secondary
#E8E8B6
accent
#D70FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85