#5a5a8f Color Information

In a RGB color space, hex #5a5a8f is composed of 35.3% red, 35.3% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 37.1% cyan, 37.1% magenta, 0% yellow and 43.9% black. It has a hue angle of 240 degrees, a saturation of 22.7% and a lightness of 45.7%. #5a5a8f color hex could be obtained by blending #b4b4ff with #00001f. Closest websafe color is: #666699.

    • R 35
    • G 35
    • B 56
    RGB color chart
    • C 37
    • M 37
    • Y 0
    • K 44
    CMYK color chart

#5a5a8f color description : Mostly desaturated dark blue.

#5a5a8f Color Conversion

The hexadecimal color #5a5a8f has RGB values of R:90, G:90, B:143 and CMYK values of C:0.37, M:0.37, Y:0, K:0.44. Its decimal value is 5921423.

Hex triplet 5a5a8f #5a5a8f
RGB Decimal 90, 90, 143 rgb(90,90,143)
RGB Percent 35.3, 35.3, 56.1 rgb(35.3%,35.3%,56.1%)
CMYK 37, 37, 0, 44
HSL 240°, 22.7, 45.7 hsl(240,22.7%,45.7%)
HSV (or HSB) 240°, 37.1, 56.1
Web Safe 666699 #666699
CIE-LAB 40.359, 13.557, -29.285
XYZ 12.83, 11.469, 27.523
xyY 0.248, 0.221, 11.469
CIE-LCH 40.359, 32.271, 294.84
CIE-LUV 40.359, -3.12, -43.216
Hunter-Lab 33.866, 8.357, -24.479
Binary 01011010, 01011010, 10001111

Color Schemes with #5a5a8f

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

Alternatives to #5a5a8f

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

Similar Colors

#5a5a8f Preview

Text with hexadecimal color #5a5a8f

This text has a font color of #5a5a8f.

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

This paragraph has a background color of #5a5a8f.

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

This element has a border color of #5a5a8f.

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

Shades and Tints of #5a5a8f

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

Shade Color Variation
Tint Color Variation

Tones of #5a5a8f

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

Tone Color Variation

Color Blindness Simulator

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

  • #606060 Achromatopsia 0.005% of the population
  • #5f5f69 Atypical Achromatopsia 0.001% of the population
  • #546597 Protanopia 1% of men
  • #536693 Deuteranopia 1% of men
  • #586a71 Tritanopia 0.001% of the population
  • #566194 Protanomaly 1% of men, 0.01% of women
  • #556291 Deuteranomaly 6% of men, 0.4% of women
  • #59647c Tritanomaly 0.01% of the population