Skip to content
Kolorvia
#5a5e97

Color #5a5e97

A muted medium blue.

Conversions

HEX
#5a5e97
RGB
rgb(90, 94, 151)
HSL
hsl(236.1, 25.3%, 47.3%)
HSV / HSB
hsv(236.1, 40.4%, 59.2%)
CMYK
cmyk(40.4%, 37.7%, 0%, 40.8%)
LAB
lab(41.86, 13.4, -31.72)
LCH
lch(41.86, 34.43, 292.9)
OKLCH
oklch(50.4%, 0.0903, 279.57)
HWB
hwb(236.1, 35.3%, 40.8%)

Harmony colors

Complementary

#97935a

Analogous

#5a7d97
#5a5e97
#755a97

Triadic

#5a5e97
#975a5e
#5e975a

Split-complementary

#5a5e97
#97755a
#7d975a

Tetradic

#5a5e97
#935a97
#97935a
#5e975a

Square

#5a5e97
#975a7d
#97935a
#5a9775

Shades

Color #5a5e97 mixed toward black.

#4b4e7e
#3c3f65
#2d2f4c
#1e1f32
#0f1019

Tints

Color #5a5e97 mixed toward white.

#7376ab
#8f92bc
#abadcd
#c7c8de
#e3e4ee

Tones

Color #5a5e97 mixed toward gray.

#5f6292
#64678d
#696b88
#6e7083
#74747e

Accessibility

Aa White text on this color
6.03:1
Aa Black text on this color
3.48:1

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

Under color vision deficiencies

Protanopia

#5c5c8c · ΔE 2.7

Deuteranopia

#5c5b89 · ΔE 3.5

Tritanopia

#5a8280 · ΔE 26.2

Achromatopsia

#636363 · ΔE 20.1

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

Code

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

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#5a5e97 (#5a5e97) is rgb(90, 94, 151) in RGB.

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