#5B5CE7#5B5CE7
#5B5CE7 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.5% C 0.205 H 277.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CE7 |
|---|---|
| RGB | rgb(91, 92, 231) |
| HSL | hsl(240, 74%, 63%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(60.6%, 60.2%, 0%, 9.4%) |
| CIE-LAB | lab(46.51, 40.16, -70.74) |
| CIE-LCH | lch(46.51, 81.34, 299.58°) |
| OKLab | oklab(55.52% 0.0253 -0.2035) |
| OKLCH | oklch(55.52% 0.205 277.1) |
| XYZ | xyz(22.5607, 15.6462, 77.4170) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.21
Dark Periwinkle
#665FD1
ΔE00 3.35
Slate Blue
#6A5ACD
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.45
Iris
#6258C4
ΔE00 5.16
Electric Blue
#0652FF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CE7 #E7E65B
analogous
#5BA2E7 #5B5CE7 #A05BE7
triadic
#5B5CE7 #E75B5C #5CE75B
tetradic
#5B5CE7 #E75BA2 #E7E65B #5BE7A0
square
#5B5CE7 #E75BA2 #E7E65B #5BE7A0
split-complementary
#5B5CE7 #E7A05B #A2E75B
monochromatic
#191BAE #2627DF #5B5CE7 #9091EF #C6C6F7
Accessibility & contrast
On white
5.09
#5B5CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5B5CE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CE7
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CE7 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5ce7; /* rgb */ color: rgb(91, 92, 231); /* oklch */ color: oklch(55.5% 0.205 277.1);
Tailwind
colors: {
custom: {
50: '#978af0',
500: '#5b5ce7',
950: '#000000',
},
}SCSS
$custom: #5b5ce7; $custom-light: #978af0; $custom-dark: #000000;
JSON
{
"hex": "#5b5ce7",
"rgb": {
"r": 91,
"g": 92,
"b": 231
},
"hsl": {
"h": 239.571,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.55517,
"c": 0.20506,
"h": 277.1
},
"luminance": 0.15648
}Semantic roles & 50–950 ramp
primary
#5B5CE7
secondary
#E8E8B6
accent
#D50FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85