#5B5EE7#5B5EE7
#5B5EE7 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 55.9% C 0.203 H 276.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5EE7 |
|---|---|
| RGB | rgb(91, 94, 231) |
| HSL | hsl(239, 74%, 63%) |
| HSV | hsv(239, 61%, 91%) |
| CMYK | cmyk(60.6%, 59.3%, 0%, 9.4%) |
| CIE-LAB | lab(46.97, 38.96, -69.98) |
| CIE-LCH | lch(46.97, 80.09, 299.10°) |
| OKLab | oklab(55.86% 0.0235 -0.2013) |
| OKLCH | oklch(55.86% 0.203 276.7) |
| XYZ | xyz(22.7362, 15.9973, 77.4755) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.33
Warm Blue
#4B57DB
ΔE00 3.50
Slate Blue
#6A5ACD
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 4.67
Iris
#6258C4
ΔE00 5.40
Azul
#1D5DEC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5EE7 #E7E45B
analogous
#5BA4E7 #5B5EE7 #9E5BE7
triadic
#5B5EE7 #E75B5E #5EE75B
tetradic
#5B5EE7 #E75BA4 #E7E45B #5BE79E
square
#5B5EE7 #E75BA4 #E7E45B #5BE79E
split-complementary
#5B5EE7 #E79E5B #A4E75B
monochromatic
#191DAE #262ADF #5B5EE7 #9092EF #C6C7F7
Accessibility & contrast
On white
5.00
#5B5EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5B5EE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5EE7
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5EE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5EE7 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5ee7; /* rgb */ color: rgb(91, 94, 231); /* oklch */ color: oklch(55.9% 0.203 276.7);
Tailwind
colors: {
custom: {
50: '#978cf0',
500: '#5b5ee7',
950: '#000000',
},
}SCSS
$custom: #5b5ee7; $custom-light: #978cf0; $custom-dark: #000000;
JSON
{
"hex": "#5b5ee7",
"rgb": {
"r": 91,
"g": 94,
"b": 231
},
"hsl": {
"h": 238.714,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.55859,
"c": 0.20264,
"h": 276.7
},
"luminance": 0.15999
}Semantic roles & 50–950 ramp
primary
#5B5EE7
secondary
#E8E7B6
accent
#D20FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85