#5B4AC2#5B4AC2
#5B4AC2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.180 H 284.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4AC2 |
|---|---|
| RGB | rgb(91, 74, 194) |
| HSL | hsl(249, 50%, 53%) |
| HSV | hsv(249, 62%, 76%) |
| CMYK | cmyk(53.1%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(39.61, 39.23, -60.74) |
| CIE-LCH | lch(39.61, 72.31, 302.85°) |
| OKLab | oklab(49.58% 0.044 -0.1742) |
| OKLCH | oklch(49.58% 0.18 284.2) |
| XYZ | xyz(16.4978, 11.0158, 52.2854) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.79
Ocean Blue
#4F42B5
ΔE00 3.30
Blue With A Hint Of Purple
#533CC6
ΔE00 3.75
Iris
#6258C4
ΔE00 4.19
Blurple
#5539CC
ΔE00 4.43
Slate Blue
#6A5ACD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4AC2 #B1C24A
analogous
#4A75C2 #5B4AC2 #974AC2
triadic
#5B4AC2 #C25B4A #4AC25B
tetradic
#5B4AC2 #C24A75 #B1C24A #4AC297
square
#5B4AC2 #C24A75 #B1C24A #4AC297
split-complementary
#5B4AC2 #C2974A #75C24A
monochromatic
#2F256D #43349B #5B4AC2 #8478D1 #AEA6E1
Accessibility & contrast
On white
6.56
#5B4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#5B4AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4AC2
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4AC2 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#30677F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5b4ac2; /* rgb */ color: rgb(91, 74, 194); /* oklch */ color: oklch(49.6% 0.180 284.2);
Tailwind
colors: {
custom: {
50: '#927dd5',
500: '#5b4ac2',
950: '#000000',
},
}SCSS
$custom: #5b4ac2; $custom-light: #927dd5; $custom-dark: #000000;
JSON
{
"hex": "#5b4ac2",
"rgb": {
"r": 91,
"g": 74,
"b": 194
},
"hsl": {
"h": 248.5,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.4958,
"c": 0.17969,
"h": 284.2
},
"luminance": 0.11017
}Semantic roles & 50–950 ramp
primary
#5B4AC2
secondary
#C7CE9A
accent
#D94FC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83