#5B49BB#5B49BB
#5B49BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.172 H 285.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5B49BB |
|---|---|
| RGB | rgb(91, 73, 187) |
| HSL | hsl(249, 46%, 51%) |
| HSV | hsv(249, 61%, 73%) |
| CMYK | cmyk(51.3%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(38.86, 37.68, -57.87) |
| CIE-LCH | lch(38.86, 69.05, 303.07°) |
| OKLab | oklab(48.87% 0.0454 -0.1658) |
| OKLCH | oklch(48.87% 0.172 285.3) |
| XYZ | xyz(15.6639, 10.5763, 48.2201) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.69
Bluey Purple
#6241C7
ΔE00 2.98
Blue With A Hint Of Purple
#533CC6
ΔE00 3.80
Blurple
#5539CC
ΔE00 4.60
Iris
#6258C4
ΔE00 4.64
Slate Blue
#6A5ACD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B49BB #A9BB49
analogous
#4970BB #5B49BB #9449BB
triadic
#5B49BB #BB5B49 #49BB5B
tetradic
#5B49BB #BB4970 #A9BB49 #49BB94
square
#5B49BB #BB4970 #A9BB49 #49BB94
split-complementary
#5B49BB #BB9449 #70BB49
monochromatic
#2F2564 #443691 #5B49BB #8376CC #ABA2DC
Accessibility & contrast
On white
6.74
#5B49BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#5B49BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B49BB
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B49BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B49BB | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#36647B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5b49bb; /* rgb */ color: rgb(91, 73, 187); /* oklch */ color: oklch(48.9% 0.172 285.3);
Tailwind
colors: {
custom: {
50: '#917cd0',
500: '#5b49bb',
950: '#000000',
},
}SCSS
$custom: #5b49bb; $custom-light: #917cd0; $custom-dark: #000000;
JSON
{
"hex": "#5b49bb",
"rgb": {
"r": 91,
"g": 73,
"b": 187
},
"hsl": {
"h": 249.474,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.48867,
"c": 0.17187,
"h": 285.3
},
"luminance": 0.10577
}Semantic roles & 50–950 ramp
primary
#5B49BB
secondary
#C1C997
accent
#D553C1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82