#5a40ab Color Information

In a RGB color space, hex #5a40ab is composed of 35.3% red, 25.1% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 62.6% magenta, 0% yellow and 32.9% black. It has a hue angle of 254.6 degrees, a saturation of 45.5% and a lightness of 46.1%. #5a40ab color hex could be obtained by blending #b480ff with #000057. Closest websafe color is: #663399.

    • R 35
    • G 25
    • B 67
    RGB color chart
    • C 47
    • M 63
    • Y 0
    • K 33
    CMYK color chart

#5a40ab color description : Dark moderate blue.

#5a40ab Color Conversion

The hexadecimal color #5a40ab has RGB values of R:90, G:64, B:171 and CMYK values of C:0.47, M:0.63, Y:0, K:0.33. Its decimal value is 5914795.

Hex triplet 5a40ab #5a40ab
RGB Decimal 90, 64, 171 rgb(90,64,171)
RGB Percent 35.3, 25.1, 67.1 rgb(35.3%,25.1%,67.1%)
CMYK 47, 63, 0, 33
HSL 254.6°, 45.5, 46.1 hsl(254.6,45.5%,46.1%)
HSV (or HSB) 254.6°, 62.6, 67.1
Web Safe 663399 #663399
CIE-LAB 35.558, 37.992, -53.765
XYZ 13.399, 8.78, 39.515
xyY 0.217, 0.142, 8.78
CIE-LCH 35.558, 65.833, 305.247
CIE-LUV 35.558, 2.518, -77.939
Hunter-Lab 29.632, 28.86, -58.322
Binary 01011010, 01000000, 10101011

Color Schemes with #5a40ab

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

Alternatives to #5a40ab

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

Similar Colors

#5a40ab Preview

Text with hexadecimal color #5a40ab

This text has a font color of #5a40ab.

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

This paragraph has a background color of #5a40ab.

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

This element has a border color of #5a40ab.

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

Shades and Tints of #5a40ab

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

Shade Color Variation
Tint Color Variation

Tones of #5a40ab

A tone is produced by adding gray to any pure hue. In this case, #716d7e is the less saturated color, while #3901ea is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a40ab 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
  • #545454 Achromatopsia 0.005% of the population
  • #555065 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0059af Protanopia 1% of men
  • #005e9b Deuteranopia 1% of men
  • #496067 Tritanopia 0.001% of the population
Trichromacy
  • #2050ad Protanomaly 1% of men, 0.01% of women
  • #2053a0 Deuteranomaly 6% of men, 0.4% of women
  • #4f547f Tritanomaly 0.01% of the population