#5A4BB2#5A4BB2
#5A4BB2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.157 H 285.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BB2 |
|---|---|
| RGB | rgb(90, 75, 178) |
| HSL | hsl(249, 41%, 50%) |
| HSV | hsv(249, 58%, 70%) |
| CMYK | cmyk(49.4%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(38.59, 33.51, -53.01) |
| CIE-LCH | lch(38.59, 62.72, 302.30°) |
| OKLab | oklab(48.44% 0.0422 -0.1515) |
| OKLCH | oklch(48.44% 0.157 285.6) |
| XYZ | xyz(14.7660, 10.4195, 43.3440) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.03
Bluey Purple
#6241C7
ΔE00 4.38
Iris
#6258C4
ΔE00 4.71
Blue With A Hint Of Purple
#533CC6
ΔE00 5.01
Blueberry
#464196
ΔE00 5.70
Blurple
#5539CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BB2 #A3B24B
analogous
#4B70B2 #5A4BB2 #8E4BB2
triadic
#5A4BB2 #B25A4B #4BB25A
tetradic
#5A4BB2 #B24B70 #A3B24B #4BB28E
square
#5A4BB2 #B24B70 #A3B24B #4BB28E
split-complementary
#5A4BB2 #B28E4B #70B24B
monochromatic
#2E275C #443987 #5A4BB2 #8175C5 #A8A0D7
Accessibility & contrast
On white
6.81
#5A4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#5A4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BB2
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BB2 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#3B6277
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5a4bb2; /* rgb */ color: rgb(90, 75, 178); /* oklch */ color: oklch(48.4% 0.157 285.6);
Tailwind
colors: {
custom: {
50: '#8f7eca',
500: '#5a4bb2',
950: '#000000',
},
}SCSS
$custom: #5a4bb2; $custom-light: #8f7eca; $custom-dark: #000000;
JSON
{
"hex": "#5a4bb2",
"rgb": {
"r": 90,
"g": 75,
"b": 178
},
"hsl": {
"h": 248.738,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.4844,
"c": 0.15728,
"h": 285.6
},
"luminance": 0.1042
}Semantic roles & 50–950 ramp
primary
#5A4BB2
secondary
#BDC495
accent
#D157BF
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82