#5a5ab7 Color Information

In a RGB color space, hex #5a5ab7 is composed of 35.3% red, 35.3% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 50.8% cyan, 50.8% magenta, 0% yellow and 28.2% black. It has a hue angle of 240 degrees, a saturation of 39.2% and a lightness of 53.5%. #5a5ab7 color hex could be obtained by blending #b4b4ff with #00006f. Closest websafe color is: #6666cc.

    • R 35
    • G 35
    • B 72
    RGB color chart
    • C 51
    • M 51
    • Y 0
    • K 28
    CMYK color chart

#5a5ab7 color description : Moderate blue.

#5a5ab7 Color Conversion

The hexadecimal color #5a5ab7 has RGB values of R:90, G:90, B:183 and CMYK values of C:0.51, M:0.51, Y:0, K:0.28. Its decimal value is 5921463.

Hex triplet 5a5ab7 #5a5ab7
RGB Decimal 90, 90, 183 rgb(90,90,183)
RGB Percent 35.3, 35.3, 71.8 rgb(35.3%,35.3%,71.8%)
CMYK 51, 51, 0, 28
HSL 240°, 39.2, 53.5 hsl(240,39.2%,53.5%)
HSV (or HSB) 240°, 50.8, 71.8
Web Safe 6666cc #6666cc
CIE-LAB 42.619, 25.795, -49.462
XYZ 16.418, 12.904, 46.423
xyY 0.217, 0.17, 12.904
CIE-LCH 42.619, 55.784, 297.542
CIE-LUV 42.619, -5.43, -75.239
Hunter-Lab 35.923, 18.718, -51.475
Binary 01011010, 01011010, 10110111

Color Schemes with #5a5ab7

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

Alternatives to #5a5ab7

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

Similar Colors

#5a5ab7 Preview

Text with hexadecimal color #5a5ab7

This text has a font color of #5a5ab7.

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

This paragraph has a background color of #5a5ab7.

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

This element has a border color of #5a5ab7.

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

Shades and Tints of #5a5ab7

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

Shade Color Variation
Tint Color Variation

Tones of #5a5ab7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5ab7 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
  • #656565 Achromatopsia 0.005% of the population
  • #636375 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #3769c1 Protanopia 1% of men
  • #1f6eb5 Deuteranopia 1% of men
  • #49737b Tritanopia 0.001% of the population
Trichromacy
  • #4464bd Protanomaly 1% of men, 0.01% of women
  • #3466b6 Deuteranomaly 6% of men, 0.4% of women
  • #4f6991 Tritanomaly 0.01% of the population