Skip to content
Kolorvia
#5a3fb9

Color #5a3fb9

A moderately saturated medium blue.

Conversions

HEX
#5a3fb9
RGB
rgb(90, 63, 185)
HSL
hsl(253.3, 49.2%, 48.6%)
HSV / HSB
hsv(253.3, 65.9%, 72.5%)
CMYK
cmyk(51.4%, 65.9%, 0%, 27.5%)
LAB
lab(36.42, 42.71, -60.65)
LCH
lch(36.42, 74.18, 305.15)
OKLCH
oklch(47%, 0.1823, 287.36)
HWB
hwb(253.3, 24.7%, 27.5%)

Harmony colors

Complementary

#9eb93f

Analogous

#3f61b9
#5a3fb9
#973fb9

Triadic

#5a3fb9
#b95a3f
#3fb95a

Split-complementary

#5a3fb9
#b9973f
#61b93f

Tetradic

#5a3fb9
#b93f9e
#9eb93f
#3fb95a

Square

#5a3fb9
#b93f61
#9eb93f
#3fb997

Shades

Color #5a3fb9 mixed toward black.

#4b349a
#3c2a7b
#2d1f5c
#1e153e
#0f0a1f

Tints

Color #5a3fb9 mixed toward white.

#745cc8
#907dd3
#ac9dde
#c7bee9
#e3def4

Tones

Color #5a3fb9 mixed toward gray.

#6049af
#6553a5
#6b5d9a
#716890
#767286

Accessibility

Aa White text on this color
7.38:1
Aa Black text on this color
2.85:1

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

Under color vision deficiencies

Protanopia

#504fa6 · ΔE 6.3

Deuteranopia

#5153a1 · ΔE 8

Tritanopia

#599490 · ΔE 37.7

Achromatopsia

#565656 · ΔE 27.8

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

Code

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

Related colors

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

Frequently asked questions

#5a3fb9 (#5a3fb9) is rgb(90, 63, 185) in RGB.

No, #5a3fb9 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 #5a3fb9, 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.