#5B4ABC#5B4ABC
#5B4ABC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.172 H 284.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4ABC |
|---|---|
| RGB | rgb(91, 74, 188) |
| HSL | hsl(249, 46%, 51%) |
| HSV | hsv(249, 61%, 74%) |
| CMYK | cmyk(51.6%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(39.16, 37.38, -57.96) |
| CIE-LCH | lch(39.16, 68.97, 302.82°) |
| OKLab | oklab(49.11% 0.0443 -0.166) |
| OKLCH | oklch(49.11% 0.172 284.9) |
| XYZ | xyz(15.8375, 10.7517, 48.8080) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.92
Bluey Purple
#6241C7
ΔE00 3.12
Blue With A Hint Of Purple
#533CC6
ΔE00 3.99
Iris
#6258C4
ΔE00 4.34
Blurple
#5539CC
ΔE00 4.77
Slate Blue
#6A5ACD
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4ABC #ABBC4A
analogous
#4A72BC #5B4ABC #944ABC
triadic
#5B4ABC #BC5B4A #4ABC5B
tetradic
#5B4ABC #BC4A72 #ABBC4A #4ABC94
square
#5B4ABC #BC4A72 #ABBC4A #4ABC94
split-complementary
#5B4ABC #BC944A #72BC4A
monochromatic
#2F2666 #443693 #5B4ABC #8377CD #ACA3DD
Accessibility & contrast
On white
6.67
#5B4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#5B4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4ABC
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4ABC | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#35657C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5b4abc; /* rgb */ color: rgb(91, 74, 188); /* oklch */ color: oklch(49.1% 0.172 284.9);
Tailwind
colors: {
custom: {
50: '#917dd1',
500: '#5b4abc',
950: '#000000',
},
}SCSS
$custom: #5b4abc; $custom-light: #917dd1; $custom-dark: #000000;
JSON
{
"hex": "#5b4abc",
"rgb": {
"r": 91,
"g": 74,
"b": 188
},
"hsl": {
"h": 248.947,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.49111,
"c": 0.17186,
"h": 284.9
},
"luminance": 0.10753
}Semantic roles & 50–950 ramp
primary
#5B4ABC
secondary
#C3CA98
accent
#D652C2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82