#5B4CD0#5B4CD0
#5B4CD0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 51.0% C 0.195 H 282.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4CD0 |
|---|---|
| RGB | rgb(91, 76, 208) |
| HSL | hsl(247, 58%, 56%) |
| HSV | hsv(247, 63%, 82%) |
| CMYK | cmyk(56.2%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(41.13, 42.37, -66.38) |
| CIE-LCH | lch(41.13, 78.75, 302.55°) |
| OKLab | oklab(51.03% 0.041 -0.1908) |
| OKLCH | oklch(51.03% 0.195 282.1) |
| XYZ | xyz(18.2805, 11.9459, 61.0048) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.48
Iris
#6258C4
ΔE00 3.94
Warm Blue
#4B57DB
ΔE00 4.46
Blue With A Hint Of Purple
#533CC6
ΔE00 4.53
Slate Blue
#6A5ACD
ΔE00 4.54
Purpleish Blue
#6140EF
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4CD0 #C1D04C
analogous
#4C7FD0 #5B4CD0 #9D4CD0
triadic
#5B4CD0 #D05B4C #4CD05B
tetradic
#5B4CD0 #D04C7F #C1D04C #4CD09D
square
#5B4CD0 #D04C7F #C1D04C #4CD09D
split-complementary
#5B4CD0 #D09D4C #7FD04C
monochromatic
#2C2280 #3D2EB0 #5B4CD0 #877CDD #B4ADE9
Accessibility & contrast
On white
6.20
#5B4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5B4CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4CD0
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4CD0 | 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)
#0065D4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#1E6D87
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5b4cd0; /* rgb */ color: rgb(91, 76, 208); /* oklch */ color: oklch(51.0% 0.195 282.1);
Tailwind
colors: {
custom: {
50: '#947fdf',
500: '#5b4cd0',
950: '#000000',
},
}SCSS
$custom: #5b4cd0; $custom-light: #947fdf; $custom-dark: #000000;
JSON
{
"hex": "#5b4cd0",
"rgb": {
"r": 91,
"g": 76,
"b": 208
},
"hsl": {
"h": 246.818,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.51029,
"c": 0.19513,
"h": 282.1
},
"luminance": 0.11947
}Semantic roles & 50–950 ramp
primary
#5B4CD0
secondary
#D1D7A0
accent
#E246D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83