#5B5EE5#5B5EE5
#5B5EE5 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.7% C 0.200 H 276.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5EE5 |
|---|---|
| RGB | rgb(91, 94, 229) |
| HSL | hsl(239, 73%, 63%) |
| HSV | hsv(239, 60%, 90%) |
| CMYK | cmyk(60.3%, 59%, 0%, 10.2%) |
| CIE-LAB | lab(46.82, 38.31, -69.09) |
| CIE-LCH | lch(46.82, 79.00, 299.01°) |
| OKLab | oklab(55.7% 0.0236 -0.1987) |
| OKLCH | oklch(55.7% 0.2 276.8) |
| XYZ | xyz(22.4554, 15.8850, 75.9963) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.12
Warm Blue
#4B57DB
ΔE00 3.35
Slate Blue
#6A5ACD
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.52
Iris
#6258C4
ΔE00 5.18
Azul
#1D5DEC
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5EE5 #E5E25B
analogous
#5BA3E5 #5B5EE5 #9D5BE5
triadic
#5B5EE5 #E55B5E #5EE55B
tetradic
#5B5EE5 #E55BA3 #E5E25B #5BE59D
square
#5B5EE5 #E55BA3 #E5E25B #5BE59D
split-complementary
#5B5EE5 #E59D5B #A3E55B
monochromatic
#1B1EAB #262ADD #5B5EE5 #9092ED #C5C6F6
Accessibility & contrast
On white
5.03
#5B5EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#5B5EE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5EE5
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5EE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5EE5 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5ee5; /* rgb */ color: rgb(91, 94, 229); /* oklch */ color: oklch(55.7% 0.200 276.8);
Tailwind
colors: {
custom: {
50: '#968cee',
500: '#5b5ee5',
950: '#000000',
},
}SCSS
$custom: #5b5ee5; $custom-light: #968cee; $custom-dark: #000000;
JSON
{
"hex": "#5b5ee5",
"rgb": {
"r": 91,
"g": 94,
"b": 229
},
"hsl": {
"h": 238.696,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.55704,
"c": 0.20005,
"h": 276.8
},
"luminance": 0.15887
}Semantic roles & 50–950 ramp
primary
#5B5EE5
secondary
#E7E6B5
accent
#D011D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84