#5B4CD7#5B4CD7
#5B4CD7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.6% C 0.204 H 281.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4CD7 |
|---|---|
| RGB | rgb(91, 76, 215) |
| HSL | hsl(246, 63%, 57%) |
| HSV | hsv(246, 65%, 84%) |
| CMYK | cmyk(57.7%, 64.7%, 0%, 15.7%) |
| CIE-LAB | lab(41.69, 44.53, -69.50) |
| CIE-LCH | lch(41.69, 82.54, 302.65°) |
| OKLab | oklab(51.61% 0.0403 -0.1999) |
| OKLCH | oklch(51.61% 0.204 281.4) |
| XYZ | xyz(19.1607, 12.2980, 65.6409) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 3.94
Warm Blue
#4B57DB
ΔE00 4.20
Iris
#6258C4
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4CD7 #C8D74C
analogous
#4C83D7 #5B4CD7 #A14CD7
triadic
#5B4CD7 #D75B4C #4CD75B
tetradic
#5B4CD7 #D74C83 #C8D74C #4CD7A1
square
#5B4CD7 #D74C83 #C8D74C #4CD7A1
split-complementary
#5B4CD7 #D7A14C #83D74C
monochromatic
#2A1F8A #3A2ABC #5B4CD7 #897EE2 #B7B0ED
Accessibility & contrast
On white
6.07
#5B4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5B4CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4CD7
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4CD7 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#0E6F8B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b4cd7; /* rgb */ color: rgb(91, 76, 215); /* oklch */ color: oklch(51.6% 0.204 281.4);
Tailwind
colors: {
custom: {
50: '#957fe4',
500: '#5b4cd7',
950: '#000000',
},
}SCSS
$custom: #5b4cd7; $custom-light: #957fe4; $custom-dark: #000000;
JSON
{
"hex": "#5b4cd7",
"rgb": {
"r": 91,
"g": 76,
"b": 215
},
"hsl": {
"h": 246.475,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.51605,
"c": 0.20395,
"h": 281.4
},
"luminance": 0.12299
}Semantic roles & 50–950 ramp
primary
#5B4CD7
secondary
#D6DCA3
accent
#E641D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84