Skip to content
Kolorvia
#5a47b2

Color #5a47b2

A moderately saturated medium blue.

Conversions

HEX
#5a47b2
RGB
rgb(90, 71, 178)
HSL
hsl(250.7, 43%, 48.8%)
HSV / HSB
hsv(250.7, 60.1%, 69.8%)
CMYK
cmyk(49.4%, 60.1%, 0%, 30.2%)
LAB
lab(37.65, 35.93, -54.52)
LCH
lch(37.65, 65.29, 303.39)
OKLCH
oklch(47.8%, 0.1628, 286.67)
HWB
hwb(250.7, 27.8%, 30.2%)

Harmony colors

Complementary

#9fb247

Analogous

#4769b2
#5a47b2
#9047b2

Triadic

#5a47b2
#b25a47
#47b25a

Split-complementary

#5a47b2
#b29047
#69b247

Tetradic

#5a47b2
#b2479f
#9fb247
#47b25a

Square

#5a47b2
#b24769
#9fb247
#47b290

Shades

Color #5a47b2 mixed toward black.

#4b3b94
#3c2f77
#2d2359
#1e183b
#0f0c1e

Tints

Color #5a47b2 mixed toward white.

#7463c1
#9083cd
#aca2da
#c7c1e6
#e3e0f3

Tones

Color #5a47b2 mixed toward gray.

#6050a9
#6559a0
#6b6297
#716b8e
#777485

Accessibility

Aa White text on this color
7.05:1
Aa Black text on this color
2.98:1

White text reads better on this background (7.05:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#5252a0 · ΔE 5.4

Deuteranopia

#53559c · ΔE 6.6

Tritanopia

#59908c · ΔE 35.4

Achromatopsia

#595959 · ΔE 26.6

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

Code

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

Related colors

Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Medium Purple #9370db
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#5a47b2 (#5a47b2) is rgb(90, 71, 178) in RGB.

No, #5a47b2 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5a47b2, 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.