#5B5DE7#5B5DE7
#5B5DE7 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.204 H 276.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5DE7 |
|---|---|
| RGB | rgb(91, 93, 231) |
| HSL | hsl(239, 74%, 63%) |
| HSV | hsv(239, 61%, 91%) |
| CMYK | cmyk(60.6%, 59.7%, 0%, 9.4%) |
| CIE-LAB | lab(46.74, 39.56, -70.36) |
| CIE-LCH | lch(46.74, 80.72, 299.34°) |
| OKLab | oklab(55.69% 0.0244 -0.2024) |
| OKLCH | oklch(55.69% 0.204 276.9) |
| XYZ | xyz(22.6479, 15.8206, 77.4460) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.33
Warm Blue
#4B57DB
ΔE00 3.34
Slate Blue
#6A5ACD
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 4.55
Iris
#6258C4
ΔE00 5.28
Azul
#1D5DEC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5DE7 #E7E55B
analogous
#5BA3E7 #5B5DE7 #9F5BE7
triadic
#5B5DE7 #E75B5D #5DE75B
tetradic
#5B5DE7 #E75BA3 #E7E55B #5BE79F
square
#5B5DE7 #E75BA3 #E7E55B #5BE79F
split-complementary
#5B5DE7 #E79F5B #A3E75B
monochromatic
#191CAE #2628DF #5B5DE7 #9092EF #C6C6F7
Accessibility & contrast
On white
5.04
#5B5DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5B5DE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5DE7
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5DE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5DE7 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 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: #5b5de7; /* rgb */ color: rgb(91, 93, 231); /* oklch */ color: oklch(55.7% 0.204 276.9);
Tailwind
colors: {
custom: {
50: '#978bf0',
500: '#5b5de7',
950: '#000000',
},
}SCSS
$custom: #5b5de7; $custom-light: #978bf0; $custom-dark: #000000;
JSON
{
"hex": "#5b5de7",
"rgb": {
"r": 91,
"g": 93,
"b": 231
},
"hsl": {
"h": 239.143,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.55687,
"c": 0.20385,
"h": 276.9
},
"luminance": 0.15822
}Semantic roles & 50–950 ramp
primary
#5B5DE7
secondary
#E8E7B6
accent
#D40FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85