#5B5CE5#5B5CE5
#5B5CE5 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.4% C 0.202 H 277.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CE5 |
|---|---|
| RGB | rgb(91, 92, 229) |
| HSL | hsl(240, 73%, 63%) |
| HSV | hsv(240, 60%, 90%) |
| CMYK | cmyk(60.3%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(46.36, 39.51, -69.85) |
| CIE-LCH | lch(46.36, 80.25, 299.49°) |
| OKLab | oklab(55.36% 0.0253 -0.2009) |
| OKLCH | oklch(55.36% 0.202 277.2) |
| XYZ | xyz(22.2798, 15.5339, 75.9378) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.04
Dark Periwinkle
#665FD1
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.29
Iris
#6258C4
ΔE00 4.93
Electric Blue
#0652FF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CE5 #E5E45B
analogous
#5BA1E5 #5B5CE5 #9F5BE5
triadic
#5B5CE5 #E55B5C #5CE55B
tetradic
#5B5CE5 #E55BA1 #E5E45B #5BE59F
square
#5B5CE5 #E55BA1 #E5E45B #5BE59F
split-complementary
#5B5CE5 #E59F5B #A1E55B
monochromatic
#1B1CAB #2627DD #5B5CE5 #9091ED #C5C5F6
Accessibility & contrast
On white
5.11
#5B5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#5B5CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CE5
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CE5 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5ce5; /* rgb */ color: rgb(91, 92, 229); /* oklch */ color: oklch(55.4% 0.202 277.2);
Tailwind
colors: {
custom: {
50: '#968aee',
500: '#5b5ce5',
950: '#000000',
},
}SCSS
$custom: #5b5ce5; $custom-light: #968aee; $custom-dark: #000000;
JSON
{
"hex": "#5b5ce5",
"rgb": {
"r": 91,
"g": 92,
"b": 229
},
"hsl": {
"h": 239.565,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.5536,
"c": 0.20249,
"h": 277.2
},
"luminance": 0.15536
}Semantic roles & 50–950 ramp
primary
#5B5CE5
secondary
#E7E7B5
accent
#D311D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84