#5A4E9A#5A4E9A
#5A4E9A is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.3% C 0.119 H 288.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4E9A |
|---|---|
| RGB | rgb(90, 78, 154) |
| HSL | hsl(249, 33%, 45%) |
| HSV | hsv(249, 49%, 60%) |
| CMYK | cmyk(41.6%, 49.4%, 0%, 39.6%) |
| CIE-LAB | lab(37.76, 24.37, -40.02) |
| CIE-LCH | lch(37.76, 46.86, 301.34°) |
| OKLab | oklab(47.33% 0.0373 -0.1133) |
| OKLCH | oklch(47.33% 0.119 288.2) |
| XYZ | xyz(12.7719, 9.9551, 31.8142) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.35
Blueberry
#464196
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 6.48
Royal Purple
#7851A9
ΔE00 6.62
Dusk
#4E5481
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4E9A #8E9A4E
analogous
#4E689A #5A4E9A #804E9A
triadic
#5A4E9A #9A5A4E #4E9A5A
tetradic
#5A4E9A #9A4E68 #8E9A4E #4E9A80
square
#5A4E9A #9A4E68 #8E9A4E #4E9A80
split-complementary
#5A4E9A #9A804E #689A4E
monochromatic
#2B2549 #423971 #5A4E9A #7A6FB6 #A098CB
Accessibility & contrast
On white
7.02
#5A4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5A4E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A4E9A
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4E9A | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305B9D
Deuteranopia (green-blind)
#305798
Tritanopia (blue-blind)
#485D6C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5a4e9a; /* rgb */ color: rgb(90, 78, 154); /* oklch */ color: oklch(47.3% 0.119 288.2);
Tailwind
colors: {
custom: {
50: '#8c7fb8',
500: '#5a4e9a',
950: '#000000',
},
}SCSS
$custom: #5a4e9a; $custom-light: #8c7fb8; $custom-dark: #000000;
JSON
{
"hex": "#5a4e9a",
"rgb": {
"r": 90,
"g": 78,
"b": 154
},
"hsl": {
"h": 249.474,
"s": 32.759,
"l": 45.49
},
"oklch": {
"l": 0.47326,
"c": 0.11931,
"h": 288.2
},
"luminance": 0.09956
}Semantic roles & 50–950 ramp
primary
#5A4E9A
secondary
#B1B78D
accent
#C95FB8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80