#5B48CA#5B48CA
#5B48CA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.9% C 0.192 H 283.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5B48CA |
|---|---|
| RGB | rgb(91, 72, 202) |
| HSL | hsl(249, 55%, 54%) |
| HSV | hsv(249, 64%, 79%) |
| CMYK | cmyk(55%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(39.79, 42.85, -65.10) |
| CIE-LCH | lch(39.79, 77.94, 303.35°) |
| OKLab | oklab(49.9% 0.0453 -0.187) |
| OKLCH | oklch(49.9% 0.192 283.6) |
| XYZ | xyz(17.2892, 11.1221, 57.1014) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.26
Blue With A Hint Of Purple
#533CC6
ΔE00 3.28
Blurple
#5539CC
ΔE00 3.72
Ocean Blue
#4F42B5
ΔE00 3.81
Iris
#6258C4
ΔE00 4.74
Purpleish Blue
#6140EF
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B48CA #B7CA48
analogous
#4876CA #5B48CA #9C48CA
triadic
#5B48CA #CA5B48 #48CA5B
tetradic
#5B48CA #CA4876 #B7CA48 #48CA9C
square
#5B48CA #CA4876 #B7CA48 #48CA9C
split-complementary
#5B48CA #CA9C48 #76CA48
monochromatic
#2E2276 #4130A5 #5B48CA #8677D8 #B0A7E5
Accessibility & contrast
On white
6.51
#5B48CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#5B48CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B48CA
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B48CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B48CA | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#286882
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #5b48ca; /* rgb */ color: rgb(91, 72, 202); /* oklch */ color: oklch(49.9% 0.192 283.6);
Tailwind
colors: {
custom: {
50: '#937cdb',
500: '#5b48ca',
950: '#000000',
},
}SCSS
$custom: #5b48ca; $custom-light: #937cdb; $custom-dark: #000000;
JSON
{
"hex": "#5b48ca",
"rgb": {
"r": 91,
"g": 72,
"b": 202
},
"hsl": {
"h": 248.769,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.49904,
"c": 0.19244,
"h": 283.6
},
"luminance": 0.11123
}Semantic roles & 50–950 ramp
primary
#5B48CA
secondary
#CBD39B
accent
#DE49C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83