#5B5BE5#5B5BE5
#5B5BE5 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.204 H 277.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BE5 |
|---|---|
| RGB | rgb(91, 91, 229) |
| HSL | hsl(240, 73%, 63%) |
| HSV | hsv(240, 60%, 90%) |
| CMYK | cmyk(60.3%, 60.3%, 0%, 10.2%) |
| CIE-LAB | lab(46.13, 40.11, -70.23) |
| CIE-LCH | lch(46.13, 80.87, 299.73°) |
| OKLab | oklab(55.19% 0.0262 -0.202) |
| OKLCH | oklch(55.19% 0.204 277.4) |
| XYZ | xyz(22.1938, 15.3618, 75.9091) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.93
Dark Periwinkle
#665FD1
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.21
Iris
#6258C4
ΔE00 4.83
Electric Blue
#0652FF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BE5 #E5E55B
analogous
#5BA0E5 #5B5BE5 #A05BE5
triadic
#5B5BE5 #E55B5B #5BE55B
tetradic
#5B5BE5 #E55BA0 #E5E55B #5BE5A0
square
#5B5BE5 #E55BA0 #E5E55B #5BE5A0
split-complementary
#5B5BE5 #E5A05B #A0E55B
monochromatic
#1B1BAB #2626DD #5B5BE5 #9090ED #C5C5F6
Accessibility & contrast
On white
5.16
#5B5BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#5B5BE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BE5
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BE5 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5be5; /* rgb */ color: rgb(91, 91, 229); /* oklch */ color: oklch(55.2% 0.204 277.4);
Tailwind
colors: {
custom: {
50: '#9689ee',
500: '#5b5be5',
950: '#000000',
},
}SCSS
$custom: #5b5be5; $custom-light: #9689ee; $custom-dark: #000000;
JSON
{
"hex": "#5b5be5",
"rgb": {
"r": 91,
"g": 91,
"b": 229
},
"hsl": {
"h": 240,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.55189,
"c": 0.2037,
"h": 277.4
},
"luminance": 0.15363
}Semantic roles & 50–950 ramp
primary
#5B5BE5
secondary
#E7E7B5
accent
#D511D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84