Skip to content
Kolorvia
#5a5f6e

Color #5a5f6e

A nearly neutral, gray-leaning dark blue.

Conversions

HEX
#5a5f6e
RGB
rgb(90, 95, 110)
HSL
hsl(225, 10%, 39.2%)
HSV / HSB
hsv(225, 18.2%, 43.1%)
CMYK
cmyk(18.2%, 13.6%, 0%, 56.9%)
LAB
lab(40.38, 1.53, -9.15)
LCH
lch(40.38, 9.28, 279.49)
OKLCH
oklch(48.7%, 0.0248, 270.92)
HWB
hwb(225, 35.3%, 56.9%)

Harmony colors

Complementary

#6e695a

Analogous

#5a696e
#5a5f6e
#5f5a6e

Triadic

#5a5f6e
#6e5a5f
#5f6e5a

Split-complementary

#5a5f6e
#6e5f5a
#696e5a

Tetradic

#5a5f6e
#695a6e
#6e695a
#5f6e5a

Square

#5a5f6e
#6e5a69
#6e695a
#5a6e5f

Shades

Color #5a5f6e mixed toward black.

#4b4f5c
#3c3f49
#2d2f37
#1e2025
#0f1012

Tints

Color #5a5f6e mixed toward white.

#71788a
#8d92a2
#aaaeb9
#c6c9d0
#e3e4e8

Tones

Color #5a5f6e mixed toward gray.

#5c606c
#5d616b
#5f6169
#616267
#626366

Accessibility

Aa White text on this color
6.37:1
Aa Black text on this color
3.3:1

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

Under color vision deficiencies

Protanopia

#5c5c6b · ΔE 2.7

Deuteranopia

#5c5c6a · ΔE 2.6

Tritanopia

#5a6867 · ΔE 11.1

Achromatopsia

#5f5f5f · ΔE 7.8

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#5a5f6e (#5a5f6e) is rgb(90, 95, 110) in RGB.

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