#5B5CE1#5B5CE1
#5B5CE1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.197 H 277.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CE1 |
|---|---|
| RGB | rgb(91, 92, 225) |
| HSL | hsl(240, 69%, 62%) |
| HSV | hsv(240, 60%, 88%) |
| CMYK | cmyk(59.6%, 59.1%, 0%, 11.8%) |
| CIE-LAB | lab(46.06, 38.22, -68.07) |
| CIE-LCH | lch(46.06, 78.07, 299.32°) |
| OKLab | oklab(55.05% 0.0254 -0.1957) |
| OKLCH | oklch(55.05% 0.197 277.4) |
| XYZ | xyz(21.7278, 15.3131, 73.0303) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.76
Dark Periwinkle
#665FD1
ΔE00 2.78
Slate Blue
#6A5ACD
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 4.00
Iris
#6258C4
ΔE00 4.46
Azul
#1D5DEC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CE1 #E1E05B
analogous
#5B9FE1 #5B5CE1 #9D5BE1
triadic
#5B5CE1 #E15B5C #5CE15B
tetradic
#5B5CE1 #E15B9F #E1E05B #5BE19D
square
#5B5CE1 #E15B9F #E1E05B #5BE19D
split-complementary
#5B5CE1 #E19D5B #9FE15B
monochromatic
#1E1FA4 #2729D7 #5B5CE1 #8F8FEA #C2C3F4
Accessibility & contrast
On white
5.17
#5B5CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5B5CE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CE1
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CE1 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5ce1; /* rgb */ color: rgb(91, 92, 225); /* oklch */ color: oklch(55.0% 0.197 277.4);
Tailwind
colors: {
custom: {
50: '#968aeb',
500: '#5b5ce1',
950: '#000000',
},
}SCSS
$custom: #5b5ce1; $custom-light: #968aeb; $custom-dark: #000000;
JSON
{
"hex": "#5b5ce1",
"rgb": {
"r": 91,
"g": 92,
"b": 225
},
"hsl": {
"h": 239.552,
"s": 69.072,
"l": 61.961
},
"oklch": {
"l": 0.55048,
"c": 0.19732,
"h": 277.4
},
"luminance": 0.15315
}Semantic roles & 50–950 ramp
primary
#5B5CE1
secondary
#E5E4B3
accent
#D014D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84