#5B4DCE#5B4DCE
#5B4DCE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.191 H 282.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4DCE |
|---|---|
| RGB | rgb(91, 77, 206) |
| HSL | hsl(247, 57%, 55%) |
| HSV | hsv(247, 63%, 81%) |
| CMYK | cmyk(55.8%, 62.6%, 0%, 19.2%) |
| CIE-LAB | lab(41.20, 41.16, -65.12) |
| CIE-LCH | lch(41.20, 77.04, 302.30°) |
| OKLab | oklab(51.03% 0.0402 -0.1871) |
| OKLCH | oklch(51.03% 0.191 282.1) |
| XYZ | xyz(18.1054, 11.9870, 59.7402) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.60
Bluey Purple
#6241C7
ΔE00 3.64
Slate Blue
#6A5ACD
ΔE00 4.32
Warm Blue
#4B57DB
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4DCE #C0CE4D
analogous
#4D7FCE #5B4DCE #9C4DCE
triadic
#5B4DCE #CE5B4D #4DCE5B
tetradic
#5B4DCE #CE4D7F #C0CE4D #4DCE9C
square
#5B4DCE #CE4D7F #C0CE4D #4DCE9C
split-complementary
#5B4DCE #CE9C4D #7FCE4D
monochromatic
#2D237E #3E30AE #5B4DCE #877DDB #B3ADE8
Accessibility & contrast
On white
6.18
#5B4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#5B4DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4DCE
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4DCE | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#216D86
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5b4dce; /* rgb */ color: rgb(91, 77, 206); /* oklch */ color: oklch(51.0% 0.191 282.1);
Tailwind
colors: {
custom: {
50: '#9480de',
500: '#5b4dce',
950: '#000000',
},
}SCSS
$custom: #5b4dce; $custom-light: #9480de; $custom-dark: #000000;
JSON
{
"hex": "#5b4dce",
"rgb": {
"r": 91,
"g": 77,
"b": 206
},
"hsl": {
"h": 246.512,
"s": 56.828,
"l": 55.49
},
"oklch": {
"l": 0.51028,
"c": 0.19134,
"h": 282.1
},
"luminance": 0.11988
}Semantic roles & 50–950 ramp
primary
#5B4DCE
secondary
#D0D6A1
accent
#E048D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83