#5B4DCD#5B4DCD
#5B4DCD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.190 H 282.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4DCD |
|---|---|
| RGB | rgb(91, 77, 205) |
| HSL | hsl(247, 56%, 55%) |
| HSV | hsv(247, 62%, 80%) |
| CMYK | cmyk(55.6%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(41.12, 40.85, -64.67) |
| CIE-LCH | lch(41.12, 76.49, 302.28°) |
| OKLab | oklab(50.95% 0.0403 -0.1857) |
| OKLCH | oklch(50.95% 0.19 282.2) |
| XYZ | xyz(17.9843, 11.9386, 59.1025) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.56
Bluey Purple
#6241C7
ΔE00 3.61
Slate Blue
#6A5ACD
ΔE00 4.33
Warm Blue
#4B57DB
ΔE00 4.40
Light Indigo
#6D5ACF
ΔE00 4.63
Blue With A Hint Of Purple
#533CC6
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4DCD #BFCD4D
analogous
#4D7FCD #5B4DCD #9B4DCD
triadic
#5B4DCD #CD5B4D #4DCD5B
tetradic
#5B4DCD #CD4D7F #BFCD4D #4DCD9B
square
#5B4DCD #CD4D7F #BFCD4D #4DCD9B
split-complementary
#5B4DCD #CD9B4D #7FCD4D
monochromatic
#2D237D #3E30AC #5B4DCD #877DDA #B3ADE8
Accessibility & contrast
On white
6.20
#5B4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5B4DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4DCD
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4DCD | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#236C86
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5b4dcd; /* rgb */ color: rgb(91, 77, 205); /* oklch */ color: oklch(50.9% 0.190 282.2);
Tailwind
colors: {
custom: {
50: '#947fdd',
500: '#5b4dcd',
950: '#000000',
},
}SCSS
$custom: #5b4dcd; $custom-light: #947fdd; $custom-dark: #000000;
JSON
{
"hex": "#5b4dcd",
"rgb": {
"r": 91,
"g": 77,
"b": 205
},
"hsl": {
"h": 246.563,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.50947,
"c": 0.19006,
"h": 282.2
},
"luminance": 0.1194
}Semantic roles & 50–950 ramp
primary
#5B4DCD
secondary
#D0D6A0
accent
#DF48CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83