#5A4E99#5A4E99
#5A4E99 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 47.3% C 0.118 H 288.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4E99 |
|---|---|
| RGB | rgb(90, 78, 153) |
| HSL | hsl(250, 32%, 45%) |
| HSV | hsv(250, 49%, 60%) |
| CMYK | cmyk(41.2%, 49%, 0%, 40%) |
| CIE-LAB | lab(37.70, 24.07, -39.51) |
| CIE-LCH | lch(37.70, 46.27, 301.35°) |
| OKLab | oklab(47.26% 0.0372 -0.1118) |
| OKLCH | oklch(47.26% 0.118 288.4) |
| XYZ | xyz(12.6890, 9.9219, 31.3774) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.25
Blueberry
#464196
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.68
Dusk
#4E5481
ΔE00 6.61
Ocean Blue
#4F42B5
ΔE00 6.64
Royal Purple
#7851A9
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4E99 #8D994E
analogous
#4E6799 #5A4E99 #7F4E99
triadic
#5A4E99 #995A4E #4E995A
tetradic
#5A4E99 #994E67 #8D994E #4E997F
square
#5A4E99 #994E67 #8D994E #4E997F
split-complementary
#5A4E99 #997F4E #67994E
monochromatic
#2A2548 #423970 #5A4E99 #7A6FB5 #9F97CA
Accessibility & contrast
On white
7.04
#5A4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#5A4E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A4E99
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4E99 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315A9C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#485D6C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5a4e99; /* rgb */ color: rgb(90, 78, 153); /* oklch */ color: oklch(47.3% 0.118 288.4);
Tailwind
colors: {
custom: {
50: '#8c7fb7',
500: '#5a4e99',
950: '#000000',
},
}SCSS
$custom: #5a4e99; $custom-light: #8c7fb7; $custom-dark: #000000;
JSON
{
"hex": "#5a4e99",
"rgb": {
"r": 90,
"g": 78,
"b": 153
},
"hsl": {
"h": 249.6,
"s": 32.468,
"l": 45.294
},
"oklch": {
"l": 0.47262,
"c": 0.11786,
"h": 288.4
},
"luminance": 0.09922
}Semantic roles & 50–950 ramp
primary
#5A4E99
secondary
#B0B78C
accent
#C95FB8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80