Skip to content
Kolorvia
#5a6978

Color #5a6978

A nearly neutral, gray-leaning medium blue.

Conversions

HEX
#5a6978
RGB
rgb(90, 105, 120)
HSL
hsl(210, 14.3%, 41.2%)
HSV / HSB
hsv(210, 25%, 47.1%)
CMYK
cmyk(25%, 12.5%, 0%, 52.9%)
LAB
lab(43.7, -2, -10.24)
LCH
lch(43.7, 10.43, 258.95)
OKLCH
oklch(51.4%, 0.03, 248.48)
HWB
hwb(210, 35.3%, 52.9%)

Harmony colors

Complementary

#78695a

Analogous

#5a7878
#5a6978
#5a5a78

Triadic

#5a6978
#785a69
#69785a

Split-complementary

#5a6978
#785a5a
#78785a

Tetradic

#5a6978
#695a78
#78695a
#69785a

Square

#5a6978
#785a78
#78695a
#5a785a

Shades

Color #5a6978 mixed toward black.

#4b5864
#3c4650
#2d353c
#1e2328
#0f1214

Tints

Color #5a6978 mixed toward white.

#708294
#8d9ba9
#a9b4bf
#c6cdd4
#e2e6ea

Tones

Color #5a6978 mixed toward gray.

#5d6976
#5f6973
#626971
#64696e
#67696c

Accessibility

Aa White text on this color
5.64:1
Aa Black text on this color
3.73:1

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

Under color vision deficiencies

Protanopia

#616175 · ΔE 8.8

Deuteranopia

#605f74 · ΔE 9.6

Tritanopia

#5b7271 · ΔE 10.3

Achromatopsia

#676767 · ΔE 8.6

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

Code

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

Related colors

Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff
Alice Blue #f0f8ff
Steel Blue #4682b4
Light Steel Blue #b0c4de

Frequently asked questions

#5a6978 (#5a6978) is rgb(90, 105, 120) in RGB.

No, #5a6978 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5a6978, 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.