Skip to content
Kolorvia
#5b409a

Color #5b409a

A moderately saturated medium blue.

Conversions

HEX
#5b409a
RGB
rgb(91, 64, 154)
HSL
hsl(258, 41.3%, 42.7%)
HSV / HSB
hsv(258, 58.4%, 60.4%)
CMYK
cmyk(40.9%, 58.4%, 0%, 39.6%)
LAB
lab(34.44, 33.25, -45.33)
LCH
lch(34.44, 56.22, 306.26)
OKLCH
oklch(44.9%, 0.1409, 293.78)
HWB
hwb(258, 25.1%, 39.6%)

Harmony colors

Complementary

#7f9a40

Analogous

#40529a
#5b409a
#88409a

Triadic

#5b409a
#9a5b40
#409a5b

Split-complementary

#5b409a
#9a8840
#529a40

Tetradic

#5b409a
#9a407f
#7f9a40
#409a5b

Square

#5b409a
#9a4052
#7f9a40
#409a88

Shades

Color #5b409a mixed toward black.

#4c3580
#3d2b67
#2d204d
#1e1533
#0f0b1a

Tints

Color #5b409a mixed toward white.

#7153b8
#8d75c6
#aa98d4
#c6bae2
#e3ddf1

Tones

Color #5b409a mixed toward gray.

#5e4792
#614f8b
#645683
#675e7c
#6a6574

Accessibility

Aa White text on this color
7.94:1
Aa Black text on this color
2.64:1

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

Under color vision deficiencies

Protanopia

#51508b · ΔE 7.4

Deuteranopia

#525487 · ΔE 9.1

Tritanopia

#5a7d7a · ΔE 30.3

Achromatopsia

#515151 · ΔE 25.1

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#5b409a (#5b409a) is rgb(91, 64, 154) in RGB.

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