Skip to content
Kolorvia
#5a4ec9

Color #5a4ec9

A moderately saturated medium blue.

Conversions

HEX
#5a4ec9
RGB
rgb(90, 78, 201)
HSL
hsl(245.9, 53.2%, 54.7%)
HSV / HSB
hsv(245.9, 61.2%, 78.8%)
CMYK
cmyk(55.2%, 61.2%, 0%, 21.2%)
LAB
lab(40.96, 38.83, -62.62)
LCH
lch(40.96, 73.68, 301.8)
OKLCH
oklch(50.7%, 0.1837, 282.03)
HWB
hwb(245.9, 30.6%, 21.2%)

Harmony colors

Complementary

#bdc94e

Analogous

#4e7fc9
#5a4ec9
#984ec9

Triadic

#5a4ec9
#c95a4e
#4ec95a

Split-complementary

#5a4ec9
#c9984e
#7fc94e

Tetradic

#5a4ec9
#c94ebd
#bdc94e
#4ec95a

Square

#5a4ec9
#c94e7f
#bdc94e
#4ec998

Shades

Color #5a4ec9 mixed toward black.

#4336b2
#352c8e
#28216b
#1b1647
#0d0b24

Tints

Color #5a4ec9 mixed toward white.

#766cd2
#9189db
#ada7e4
#c8c4ed
#e4e2f6

Tones

Color #5a4ec9 mixed toward gray.

#6258bf
#6b63b4
#736daa
#7b77a0
#838196

Accessibility

Aa White text on this color
6.24:1
Aa Black text on this color
3.37:1

White text reads better on this background (6.24:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#5555b5 · ΔE 4

Deuteranopia

#5657b0 · ΔE 5

Tritanopia

#59a39e · ΔE 39.4

Achromatopsia

#616161 · ΔE 27.8

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5a4ec9;
Tailwind (arbitrary value)
bg-[#5a4ec9]

Related colors

Slate Blue #6a5acd
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#5a4ec9 (#5a4ec9) is rgb(90, 78, 201) in RGB.

No, #5a4ec9 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5a4ec9, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.