#5B5EE4#5B5EE4
#5B5EE4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.199 H 276.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5EE4 |
|---|---|
| RGB | rgb(91, 94, 228) |
| HSL | hsl(239, 72%, 63%) |
| HSV | hsv(239, 60%, 89%) |
| CMYK | cmyk(60.1%, 58.8%, 0%, 10.6%) |
| CIE-LAB | lab(46.75, 37.99, -68.65) |
| CIE-LCH | lch(46.75, 78.46, 298.96°) |
| OKLab | oklab(55.63% 0.0236 -0.1973) |
| OKLCH | oklch(55.63% 0.199 276.8) |
| XYZ | xyz(22.3162, 15.8293, 75.2631) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.02
Warm Blue
#4B57DB
ΔE00 3.28
Slate Blue
#6A5ACD
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.45
Iris
#6258C4
ΔE00 5.06
Azul
#1D5DEC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5EE4 #E4E15B
analogous
#5BA3E4 #5B5EE4 #9C5BE4
triadic
#5B5EE4 #E45B5E #5EE45B
tetradic
#5B5EE4 #E45BA3 #E4E15B #5BE49C
square
#5B5EE4 #E45BA3 #E4E15B #5BE49C
split-complementary
#5B5EE4 #E49C5B #A3E45B
monochromatic
#1C1FA9 #262ADB #5B5EE4 #9092ED #C4C5F5
Accessibility & contrast
On white
5.04
#5B5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#5B5EE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5EE4
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5EE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5EE4 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5ee4; /* rgb */ color: rgb(91, 94, 228); /* oklch */ color: oklch(55.6% 0.199 276.8);
Tailwind
colors: {
custom: {
50: '#968ced',
500: '#5b5ee4',
950: '#000000',
},
}SCSS
$custom: #5b5ee4; $custom-light: #968ced; $custom-dark: #000000;
JSON
{
"hex": "#5b5ee4",
"rgb": {
"r": 91,
"g": 94,
"b": 228
},
"hsl": {
"h": 238.686,
"s": 71.728,
"l": 62.549
},
"oklch": {
"l": 0.55626,
"c": 0.19875,
"h": 276.8
},
"luminance": 0.15831
}Semantic roles & 50–950 ramp
primary
#5B5EE4
secondary
#E6E5B4
accent
#D012D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84