#5a5f7e Color Information

In a RGB color space, hex #5a5f7e is composed of 35.3% red, 37.3% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 24.6% magenta, 0% yellow and 50.6% black. It has a hue angle of 231.7 degrees, a saturation of 16.7% and a lightness of 42.4%. #5a5f7e color hex could be obtained by blending #b4befc with #000000. Closest websafe color is: #666666.

    • R 35
    • G 37
    • B 49
    RGB color chart
    • C 29
    • M 25
    • Y 0
    • K 51
    CMYK color chart

#5a5f7e color description : Mostly desaturated dark blue.

#5a5f7e Color Conversion

The hexadecimal color #5a5f7e has RGB values of R:90, G:95, B:126 and CMYK values of C:0.29, M:0.25, Y:0, K:0.51. Its decimal value is 5922686.

Hex triplet 5a5f7e #5a5f7e
RGB Decimal 90, 95, 126 rgb(90,95,126)
RGB Percent 35.3, 37.3, 49.4 rgb(35.3%,37.3%,49.4%)
CMYK 29, 25, 0, 51
HSL 231.7°, 16.7, 42.4 hsl(231.7,16.7%,42.4%)
HSV (or HSB) 231.7°, 28.6, 49.4
Web Safe 666666 #666666
CIE-LAB 41, 5.658, -17.992
XYZ 12.074, 11.864, 21.391
xyY 0.266, 0.262, 11.864
CIE-LCH 41, 18.861, 287.458
CIE-LUV 41, -4.189, -25.744
Hunter-Lab 34.444, 2.292, -12.71
Binary 01011010, 01011111, 01111110

Color Schemes with #5a5f7e

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

Alternatives to #5a5f7e

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

Similar Colors

#5a5f7e Preview

Text with hexadecimal color #5a5f7e

This text has a font color of #5a5f7e.

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

This paragraph has a background color of #5a5f7e.

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

This element has a border color of #5a5f7e.

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

Shades and Tints of #5a5f7e

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, #000000 is the darkest color, while #f4f4f7 is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5f7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f7e 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
  • #616161 Achromatopsia 0.005% of the population
  • #606167 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #606785 Protanopia 1% of men
  • #626784 Deuteranopia 1% of men
  • #5e6a72 Tritanopia 0.001% of the population
Trichromacy
  • #5e6482 Protanomaly 1% of men, 0.01% of women
  • #5f6482 Deuteranomaly 6% of men, 0.4% of women
  • #5c6676 Tritanomaly 0.01% of the population