Skip to content
Kolorvia
#5a488a

Color #5a488a

A muted medium blue.

Conversions

HEX
#5a488a
RGB
rgb(90, 72, 138)
HSL
hsl(256.4, 31.4%, 41.2%)
HSV / HSB
hsv(256.4, 47.8%, 54.1%)
CMYK
cmyk(34.8%, 47.8%, 0%, 45.9%)
LAB
lab(35.29, 23.48, -34.24)
LCH
lch(35.29, 41.52, 304.44)
OKLCH
oklch(45.2%, 0.1058, 294.34)
HWB
hwb(256.4, 28.2%, 45.9%)

Harmony colors

Complementary

#788a48

Analogous

#48578a
#5a488a
#7b488a

Triadic

#5a488a
#8a5a48
#488a5a

Split-complementary

#5a488a
#8a7b48
#578a48

Tetradic

#5a488a
#8a4878
#788a48
#488a5a

Square

#5a488a
#8a4857
#788a48
#488a7b

Shades

Color #5a488a mixed toward black.

#4b3c73
#3c305c
#2d2445
#1e182e
#0f0c17

Tints

Color #5a488a mixed toward white.

#705ba9
#8d7cba
#a99ccc
#c6bddd
#e2deee

Tones

Color #5a488a mixed toward gray.

#5d4e85
#5f537f
#62597a
#645e74
#67646f

Accessibility

Aa White text on this color
7.7:1
Aa Black text on this color
2.73:1

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

Under color vision deficiencies

Protanopia

#53537e · ΔE 6.4

Deuteranopia

#54557b · ΔE 7.6

Tritanopia

#597371 · ΔE 26.3

Achromatopsia

#535353 · ΔE 22.5

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

Code

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

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

#5a488a (#5a488a) is rgb(90, 72, 138) in RGB.

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