The hex color #40517c is a dark color. The web-safe version is Hex
#336666. A complementary color is
#BFAE83. The grayscale version is
#5A5A5A. A 20% lighter version of the original color is
#7384AF, and Hex
#0D1E49 is the 20% darker color. If the color is saturated by 10%, you get
#3D507F. If the color is desaturated by 10%, the color
#435279 is obtained.