#5B48C7#5B48C7
#5B48C7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.7% C 0.189 H 284.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5B48C7 |
|---|---|
| RGB | rgb(91, 72, 199) |
| HSL | hsl(249, 53%, 53%) |
| HSV | hsv(249, 64%, 78%) |
| CMYK | cmyk(54.3%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(39.55, 41.93, -63.75) |
| CIE-LCH | lch(39.55, 76.30, 303.34°) |
| OKLab | oklab(49.66% 0.0456 -0.183) |
| OKLCH | oklch(49.66% 0.189 284) |
| XYZ | xyz(16.9374, 10.9814, 55.2489) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.21
Blue With A Hint Of Purple
#533CC6
ΔE00 3.21
Ocean Blue
#4F42B5
ΔE00 3.49
Blurple
#5539CC
ΔE00 3.75
Iris
#6258C4
ΔE00 4.71
Purpleish Blue
#6140EF
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B48C7 #B4C748
analogous
#4875C7 #5B48C7 #9A48C7
triadic
#5B48C7 #C75B48 #48C75B
tetradic
#5B48C7 #C74875 #B4C748 #48C79A
square
#5B48C7 #C74875 #B4C748 #48C79A
split-complementary
#5B48C7 #C79A48 #75C748
monochromatic
#2F2372 #4231A1 #5B48C7 #8577D5 #AFA6E4
Accessibility & contrast
On white
6.57
#5B48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#5B48C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B48C7
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B48C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B48C7 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#2B6781
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5b48c7; /* rgb */ color: rgb(91, 72, 199); /* oklch */ color: oklch(49.7% 0.189 284.0);
Tailwind
colors: {
custom: {
50: '#937cd9',
500: '#5b48c7',
950: '#000000',
},
}SCSS
$custom: #5b48c7; $custom-light: #937cd9; $custom-dark: #000000;
JSON
{
"hex": "#5b48c7",
"rgb": {
"r": 91,
"g": 72,
"b": 199
},
"hsl": {
"h": 248.976,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.49659,
"c": 0.18863,
"h": 284
},
"luminance": 0.10982
}Semantic roles & 50–950 ramp
primary
#5B48C7
secondary
#C9D19A
accent
#DD4BC7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83