#5a5a9d Color Information

In a RGB color space, hex #5a5a9d is composed of 35.3% red, 35.3% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 42.7% cyan, 42.7% magenta, 0% yellow and 38.4% black. It has a hue angle of 240 degrees, a saturation of 27.1% and a lightness of 48.4%. #5a5a9d color hex could be obtained by blending #b4b4ff with #00003b. Closest websafe color is: #666699.

    • R 35
    • G 35
    • B 62
    RGB color chart
    • C 43
    • M 43
    • Y 0
    • K 38
    CMYK color chart

#5a5a9d color description : Mostly desaturated dark blue.

#5a5a9d Color Conversion

The hexadecimal color #5a5a9d has RGB values of R:90, G:90, B:157 and CMYK values of C:0.43, M:0.43, Y:0, K:0.38. Its decimal value is 5921437.

Hex triplet 5a5a9d #5a5a9d
RGB Decimal 90, 90, 157 rgb(90,90,157)
RGB Percent 35.3, 35.3, 61.6 rgb(35.3%,35.3%,61.6%)
CMYK 43, 43, 0, 38
HSL 240°, 27.1, 48.4 hsl(240,27.1%,48.4%)
HSV (or HSB) 240°, 42.7, 61.6
Web Safe 666699 #666699
CIE-LAB 41.089, 17.717, -36.538
XYZ 13.957, 11.92, 33.462
xyY 0.235, 0.201, 11.92
CIE-LCH 41.089, 40.607, 295.869
CIE-LUV 41.089, -3.947, -54.682
Hunter-Lab 34.525, 11.741, -33.296
Binary 01011010, 01011010, 10011101

Color Schemes with #5a5a9d

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

Alternatives to #5a5a9d

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

Similar Colors

#5a5a9d Preview

Text with hexadecimal color #5a5a9d

This text has a font color of #5a5a9d.

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

This paragraph has a background color of #5a5a9d.

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

This element has a border color of #5a5a9d.

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

Shades and Tints of #5a5a9d

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

Shade Color Variation
Tint Color Variation

Tones of #5a5a9d

A tone is produced by adding gray to any pure hue. In this case, #777781 is the less saturated color, while #0505f3 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #626262 Achromatopsia 0.005% of the population
  • #60606e Atypical Achromatopsia 0.001% of the population
  • #4d67a5 Protanopia 1% of men
  • #47699f Deuteranopia 1% of men
  • #546d74 Tritanopia 0.001% of the population
  • #5262a2 Protanomaly 1% of men, 0.01% of women
  • #4e639e Deuteranomaly 6% of men, 0.4% of women
  • #566683 Tritanomaly 0.01% of the population