#5B4DD7#5B4DD7
#5B4DD7 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.203 H 281.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4DD7 |
|---|---|
| RGB | rgb(91, 77, 215) |
| HSL | hsl(246, 63%, 57%) |
| HSV | hsv(246, 64%, 84%) |
| CMYK | cmyk(57.7%, 64.2%, 0%, 15.7%) |
| CIE-LAB | lab(41.90, 43.95, -69.14) |
| CIE-LCH | lch(41.90, 81.93, 302.44°) |
| OKLab | oklab(51.76% 0.0394 -0.1989) |
| OKLCH | oklch(51.76% 0.203 281.2) |
| XYZ | xyz(19.2302, 12.4369, 65.6640) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.97
Purpleish Blue
#6140EF
ΔE00 4.09
Iris
#6258C4
ΔE00 4.15
Bluey Purple
#6241C7
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4DD7 #C9D74D
analogous
#4D84D7 #5B4DD7 #A04DD7
triadic
#5B4DD7 #D75B4D #4DD75B
tetradic
#5B4DD7 #D74D84 #C9D74D #4DD7A0
square
#5B4DD7 #D74D84 #C9D74D #4DD7A0
split-complementary
#5B4DD7 #D7A04D #84D74D
monochromatic
#2A1F8A #392ABC #5B4DD7 #897FE2 #B7B1ED
Accessibility & contrast
On white
6.02
#5B4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5B4DD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4DD7
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4DD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4DD7 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#0D708B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b4dd7; /* rgb */ color: rgb(91, 77, 215); /* oklch */ color: oklch(51.8% 0.203 281.2);
Tailwind
colors: {
custom: {
50: '#9580e4',
500: '#5b4dd7',
950: '#000000',
},
}SCSS
$custom: #5b4dd7; $custom-light: #9580e4; $custom-dark: #000000;
JSON
{
"hex": "#5b4dd7",
"rgb": {
"r": 91,
"g": 77,
"b": 215
},
"hsl": {
"h": 246.087,
"s": 63.303,
"l": 57.255
},
"oklch": {
"l": 0.51762,
"c": 0.20276,
"h": 281.2
},
"luminance": 0.12438
}Semantic roles & 50–950 ramp
primary
#5B4DD7
secondary
#D6DCA4
accent
#E641D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84