#5a5f7d Color Information

In a RGB color space, hex #5a5f7d is composed of 35.3% red, 37.3% green and 49% blue. Whereas in a CMYK color space, it is composed of 28% cyan, 24% magenta, 0% yellow and 51% black. It has a hue angle of 231.4 degrees, a saturation of 16.3% and a lightness of 42.2%. #5a5f7d color hex could be obtained by blending #b4befa with #000000. Closest websafe color is: #666666.

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

#5a5f7d color description : Mostly desaturated dark blue.

#5a5f7d Color Conversion

The hexadecimal color #5a5f7d has RGB values of R:90, G:95, B:125 and CMYK values of C:0.28, M:0.24, Y:0, K:0.51. Its decimal value is 5922685.

Hex triplet 5a5f7d #5a5f7d
RGB Decimal 90, 95, 125 rgb(90,95,125)
RGB Percent 35.3, 37.3, 49 rgb(35.3%,37.3%,49%)
CMYK 28, 24, 0, 51
HSL 231.4°, 16.3, 42.2 hsl(231.4,16.3%,42.2%)
HSV (or HSB) 231.4°, 28, 49
Web Safe 666666 #666666
CIE-LAB 40.958, 5.389, -17.447
XYZ 12.01, 11.839, 21.053
xyY 0.267, 0.264, 11.839
CIE-LCH 40.958, 18.26, 287.166
CIE-LUV 40.958, -4.14, -24.909
Hunter-Lab 34.407, 2.092, -12.194
Binary 01011010, 01011111, 01111101

Color Schemes with #5a5f7d

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

Alternatives to #5a5f7d

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

Similar Colors

#5a5f7d Preview

Text with hexadecimal color #5a5f7d

This text has a font color of #5a5f7d.

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

This paragraph has a background color of #5a5f7d.

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

This element has a border color of #5a5f7d.

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

Shades and Tints of #5a5f7d

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, #08080b is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5f7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f7d 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
  • #606784 Protanopia 1% of men
  • #636783 Deuteranopia 1% of men
  • #5e6a72 Tritanopia 0.001% of the population
Trichromacy
  • #5e6481 Protanomaly 1% of men, 0.01% of women
  • #5f6481 Deuteranomaly 6% of men, 0.4% of women
  • #5c6676 Tritanomaly 0.01% of the population