#5B5CE4#5B5CE4
#5B5CE4 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.3% C 0.201 H 277.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CE4 |
|---|---|
| RGB | rgb(91, 92, 228) |
| HSL | hsl(240, 72%, 63%) |
| HSV | hsv(240, 60%, 89%) |
| CMYK | cmyk(60.1%, 59.6%, 0%, 10.6%) |
| CIE-LAB | lab(46.28, 39.19, -69.41) |
| CIE-LCH | lch(46.28, 79.71, 299.45°) |
| OKLab | oklab(55.28% 0.0254 -0.1996) |
| OKLCH | oklch(55.28% 0.201 277.2) |
| XYZ | xyz(22.1406, 15.4782, 75.2046) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.97
Dark Periwinkle
#665FD1
ΔE00 3.06
Slate Blue
#6A5ACD
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.22
Iris
#6258C4
ΔE00 4.81
Azul
#1D5DEC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CE4 #E4E35B
analogous
#5BA1E4 #5B5CE4 #9E5BE4
triadic
#5B5CE4 #E45B5C #5CE45B
tetradic
#5B5CE4 #E45BA1 #E4E35B #5BE49E
square
#5B5CE4 #E45BA1 #E4E35B #5BE49E
split-complementary
#5B5CE4 #E49E5B #A1E45B
monochromatic
#1C1DA9 #2628DB #5B5CE4 #9090ED #C4C4F5
Accessibility & contrast
On white
5.13
#5B5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5B5CE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CE4
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CE4 | 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)
#0074E8
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5ce4; /* rgb */ color: rgb(91, 92, 228); /* oklch */ color: oklch(55.3% 0.201 277.2);
Tailwind
colors: {
custom: {
50: '#968aed',
500: '#5b5ce4',
950: '#000000',
},
}SCSS
$custom: #5b5ce4; $custom-light: #968aed; $custom-dark: #000000;
JSON
{
"hex": "#5b5ce4",
"rgb": {
"r": 91,
"g": 92,
"b": 228
},
"hsl": {
"h": 239.562,
"s": 71.728,
"l": 62.549
},
"oklch": {
"l": 0.55281,
"c": 0.2012,
"h": 277.2
},
"luminance": 0.1548
}Semantic roles & 50–950 ramp
primary
#5B5CE4
secondary
#E6E6B4
accent
#D212D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84