#5a5f7c Color Information

In a RGB color space, hex #5a5f7c is composed of 35.3% red, 37.3% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 27.4% cyan, 23.4% magenta, 0% yellow and 51.4% black. It has a hue angle of 231.2 degrees, a saturation of 15.9% and a lightness of 42%. #5a5f7c color hex could be obtained by blending #b4bef8 with #000000. Closest websafe color is: #666666.

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

#5a5f7c color description : Mostly desaturated dark blue.

#5a5f7c Color Conversion

The hexadecimal color #5a5f7c has RGB values of R:90, G:95, B:124 and CMYK values of C:0.27, M:0.23, Y:0, K:0.51. Its decimal value is 5922684.

Hex triplet 5a5f7c #5a5f7c
RGB Decimal 90, 95, 124 rgb(90,95,124)
RGB Percent 35.3, 37.3, 48.6 rgb(35.3%,37.3%,48.6%)
CMYK 27, 23, 0, 51
HSL 231.2°, 15.9, 42 hsl(231.2,15.9%,42%)
HSV (or HSB) 231.2°, 27.4, 48.6
Web Safe 666666 #666666
CIE-LAB 40.918, 5.122, -16.901
XYZ 11.946, 11.813, 20.718
xyY 0.269, 0.266, 11.813
CIE-LCH 40.918, 17.66, 286.86
CIE-LUV 40.918, -4.091, -24.076
Hunter-Lab 34.37, 1.893, -11.681
Binary 01011010, 01011111, 01111100

Color Schemes with #5a5f7c

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

Alternatives to #5a5f7c

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

Similar Colors

#5a5f7c Preview

Text with hexadecimal color #5a5f7c

This text has a font color of #5a5f7c.

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

This paragraph has a background color of #5a5f7c.

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

This element has a border color of #5a5f7c.

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

Shades and Tints of #5a5f7c

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

Shade Color Variation
Tint Color Variation

Tones of #5a5f7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f7c 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.

  • #616161 Achromatopsia 0.005% of the population
  • #606166 Atypical Achromatopsia 0.001% of the population
  • #616783 Protanopia 1% of men
  • #636682 Deuteranopia 1% of men
  • #5e6a72 Tritanopia 0.001% of the population
  • #5e6480 Protanomaly 1% of men, 0.01% of women
  • #606480 Deuteranomaly 6% of men, 0.4% of women
  • #5c6675 Tritanomaly 0.01% of the population