#5a5987 Color Information

In a RGB color space, hex #5a5987 is composed of 35.3% red, 34.9% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 33.3% cyan, 34.1% magenta, 0% yellow and 47.1% black. It has a hue angle of 241.3 degrees, a saturation of 20.5% and a lightness of 43.9%. #5a5987 color hex could be obtained by blending #b4b2ff with #00000f. Closest websafe color is: #666699.

    • R 35
    • G 35
    • B 53
    RGB color chart
    • C 33
    • M 34
    • Y 0
    • K 47
    CMYK color chart

#5a5987 color description : Mostly desaturated dark blue.

#5a5987 Color Conversion

The hexadecimal color #5a5987 has RGB values of R:90, G:89, B:135 and CMYK values of C:0.33, M:0.34, Y:0, K:0.47. Its decimal value is 5921159.

Hex triplet 5a5987 #5a5987
RGB Decimal 90, 89, 135 rgb(90,89,135)
RGB Percent 35.3, 34.9, 52.9 rgb(35.3%,34.9%,52.9%)
CMYK 33, 34, 0, 47
HSL 241.3°, 20.5, 43.9 hsl(241.3,20.5%,43.9%)
HSV (or HSB) 241.3°, 34.1, 52.9
Web Safe 666699 #666699
CIE-LAB 39.694, 11.891, -25.483
XYZ 12.161, 11.067, 24.416
xyY 0.255, 0.232, 11.067
CIE-LCH 39.694, 28.121, 295.015
CIE-LUV 39.694, -2.25, -37.235
Hunter-Lab 33.268, 7.033, -20.226
Binary 01011010, 01011001, 10000111

Color Schemes with #5a5987

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #5a5987

Below, you can see some colors close to #5a5987. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5a5987 Preview

Text with hexadecimal color #5a5987

This text has a font color of #5a5987.

<span style="color:#5a5987;">Text here</span>
#5a5987 background color

This paragraph has a background color of #5a5987.

<p style="background-color:#5a5987;">Content here</p>
#5a5987 border color

This element has a border color of #5a5987.

<div style="border:1px solid #5a5987;">Content here</div>
CSS codes
.text {color:#5a5987;}
.background {background-color:#5a5987;}
.border {border:1px solid #5a5987;}

Shades and Tints of #5a5987

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #030305 is the darkest color, while #f8f8fa is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5987

A tone is produced by adding gray to any pure hue. In this case, #6a6a76 is the less saturated color, while #0803dd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5987 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #5f5f5f Achromatopsia 0.005% of the population
  • #5e5e67 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #56648f Protanopia 1% of men
  • #56658c Deuteranopia 1% of men
  • #5a676f Tritanopia 0.001% of the population
Trichromacy
  • #58608c Protanomaly 1% of men, 0.01% of women
  • #58608a Deuteranomaly 6% of men, 0.4% of women
  • #5a6277 Tritanomaly 0.01% of the population