#5a51a9 Color Information

In a RGB color space, hex #5a51a9 is composed of 35.3% red, 31.8% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 52.1% magenta, 0% yellow and 33.7% black. It has a hue angle of 246.1 degrees, a saturation of 35.2% and a lightness of 49%. #5a51a9 color hex could be obtained by blending #b4a2ff with #000053. Closest websafe color is: #666699.

    • R 35
    • G 32
    • B 66
    RGB color chart
    • C 47
    • M 52
    • Y 0
    • K 34
    CMYK color chart

#5a51a9 color description : Dark moderate blue.

#5a51a9 Color Conversion

The hexadecimal color #5a51a9 has RGB values of R:90, G:81, B:169 and CMYK values of C:0.47, M:0.52, Y:0, K:0.34. Its decimal value is 5919145.

Hex triplet 5a51a9 #5a51a9
RGB Decimal 90, 81, 169 rgb(90,81,169)
RGB Percent 35.3, 31.8, 66.3 rgb(35.3%,31.8%,66.3%)
CMYK 47, 52, 0, 34
HSL 246.1°, 35.2, 49 hsl(246.1,35.2%,49%)
HSV (or HSB) 246.1°, 52.1, 66.3
Web Safe 666699 #666699
CIE-LAB 39.45, 27.04, -46.296
XYZ 14.319, 10.923, 38.888
xyY 0.223, 0.17, 10.923
CIE-LCH 39.45, 53.614, 300.288
CIE-LUV 39.45, -1.83, -69.184
Hunter-Lab 33.05, 19.5, -46.629
Binary 01011010, 01010001, 10101001

Color Schemes with #5a51a9

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

Alternatives to #5a51a9

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

Similar Colors

#5a51a9 Preview

Text with hexadecimal color #5a51a9

This text has a font color of #5a51a9.

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

This paragraph has a background color of #5a51a9.

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

This element has a border color of #5a51a9.

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

Shades and Tints of #5a51a9

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

Shade Color Variation
Tint Color Variation

Tones of #5a51a9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a51a9 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
  • #5e5e5e Achromatopsia 0.005% of the population
  • #5d5b6d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #3262b4 Protanopia 1% of men
  • #2466a8 Deuteranopia 1% of men
  • #4d6971 Tritanopia 0.001% of the population
Trichromacy
  • #405cb0 Protanomaly 1% of men, 0.01% of women
  • #375ea8 Deuteranomaly 6% of men, 0.4% of women
  • #526085 Tritanomaly 0.01% of the population