Skip to content
Kolorvia
#5a5c79

Color #5a5c79

A nearly neutral, gray-leaning medium blue.

Conversions

HEX
#5a5c79
RGB
rgb(90, 92, 121)
HSL
hsl(236.1, 14.7%, 41.4%)
HSV / HSB
hsv(236.1, 25.6%, 47.5%)
CMYK
cmyk(25.6%, 24%, 0%, 52.5%)
LAB
lab(39.93, 6.18, -16.58)
LCH
lch(39.93, 17.69, 290.44)
OKLCH
oklch(48.4%, 0.0465, 281.41)
HWB
hwb(236.1, 35.3%, 52.5%)

Harmony colors

Complementary

#79775a

Analogous

#5a6c79
#5a5c79
#685a79

Triadic

#5a5c79
#795a5c
#5c795a

Split-complementary

#5a5c79
#79685a
#6c795a

Tetradic

#5a5c79
#775a79
#79775a
#5c795a

Square

#5a5c79
#795a6c
#79775a
#5a7968

Shades

Color #5a5c79 mixed toward black.

#4b4d65
#3c3d51
#2d2e3d
#1e1f28
#0f0f14

Tints

Color #5a5c79 mixed toward white.

#707395
#8d8faa
#a9abbf
#c6c7d5
#e2e3ea

Tones

Color #5a5c79 mixed toward gray.

#5d5e77
#5f6174
#626371
#64656f
#67676c

Accessibility

Aa White text on this color
6.48:1
Aa Black text on this color
3.24:1

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

Under color vision deficiencies

Protanopia

#5b5b73 · ΔE 1.9

Deuteranopia

#5b5b71 · ΔE 2.6

Tritanopia

#5a6e6c · ΔE 19

Achromatopsia

#5e5e5e · ΔE 13.3

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

Code

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

Related colors

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

Frequently asked questions

#5a5c79 (#5a5c79) is rgb(90, 92, 121) in RGB.

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