#5B5AE7#5B5AE7
#5B5AE7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.2% C 0.207 H 277.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AE7 |
|---|---|
| RGB | rgb(91, 90, 231) |
| HSL | hsl(240, 75%, 63%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(60.6%, 61%, 0%, 9.4%) |
| CIE-LAB | lab(46.05, 41.35, -71.48) |
| CIE-LCH | lch(46.05, 82.58, 300.05°) |
| OKLab | oklab(55.18% 0.027 -0.2057) |
| OKLCH | oklch(55.18% 0.207 277.5) |
| XYZ | xyz(22.3897, 15.3043, 77.3600) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.01
Dark Periwinkle
#665FD1
ΔE00 3.48
Slate Blue
#6A5ACD
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 4.31
Iris
#6258C4
ΔE00 5.00
Electric Blue
#0652FF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AE7 #E6E75A
analogous
#5A9FE7 #5B5AE7 #A25AE7
triadic
#5B5AE7 #E75B5A #5AE75B
tetradic
#5B5AE7 #E75A9F #E6E75A #5AE7A2
square
#5B5AE7 #E75A9F #E6E75A #5AE7A2
split-complementary
#5B5AE7 #E7A25A #9FE75A
monochromatic
#1A19AD #2625DF #5B5AE7 #908FEF #C5C5F7
Accessibility & contrast
On white
5.17
#5B5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5B5AE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AE7
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AE7 | 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)
#0073EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5ae7; /* rgb */ color: rgb(91, 90, 231); /* oklch */ color: oklch(55.2% 0.207 277.5);
Tailwind
colors: {
custom: {
50: '#9789f0',
500: '#5b5ae7',
950: '#000000',
},
}SCSS
$custom: #5b5ae7; $custom-light: #9789f0; $custom-dark: #000000;
JSON
{
"hex": "#5b5ae7",
"rgb": {
"r": 91,
"g": 90,
"b": 231
},
"hsl": {
"h": 240.426,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.5518,
"c": 0.20747,
"h": 277.5
},
"luminance": 0.15306
}Semantic roles & 50–950 ramp
primary
#5B5AE7
secondary
#E7E8B5
accent
#D70FD5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85