#5a51ba Color Information

In a RGB color space, hex #5a51ba is composed of 35.3% red, 31.8% green and 72.9% blue. Whereas in a CMYK color space, it is composed of 51.6% cyan, 56.5% magenta, 0% yellow and 27.1% black. It has a hue angle of 245.1 degrees, a saturation of 43.2% and a lightness of 52.4%. #5a51ba color hex could be obtained by blending #b4a2ff with #000075. Closest websafe color is: #6666cc.

    • R 35
    • G 32
    • B 73
    RGB color chart
    • C 52
    • M 56
    • Y 0
    • K 27
    CMYK color chart

#5a51ba color description : Moderate blue.

#5a51ba Color Conversion

The hexadecimal color #5a51ba has RGB values of R:90, G:81, B:186 and CMYK values of C:0.52, M:0.56, Y:0, K:0.27. Its decimal value is 5919162.

Hex triplet 5a51ba #5a51ba
RGB Decimal 90, 81, 186 rgb(90,81,186)
RGB Percent 35.3, 31.8, 72.9 rgb(35.3%,31.8%,72.9%)
CMYK 52, 56, 0, 27
HSL 245.1°, 43.2, 52.4 hsl(245.1,43.2%,52.4%)
HSV (or HSB) 245.1°, 56.5, 72.9
Web Safe 6666cc #6666cc
CIE-LAB 40.578, 32.32, -54.504
XYZ 16.02, 11.603, 47.847
xyY 0.212, 0.154, 11.603
CIE-LCH 40.578, 63.367, 300.667
CIE-LUV 40.578, -3.037, -81.929
Hunter-Lab 34.063, 24.338, -59.437
Binary 01011010, 01010001, 10111010

Color Schemes with #5a51ba

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

Alternatives to #5a51ba

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

Similar Colors

#5a51ba Preview

Text with hexadecimal color #5a51ba

This text has a font color of #5a51ba.

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

This paragraph has a background color of #5a51ba.

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

This element has a border color of #5a51ba.

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

Shades and Tints of #5a51ba

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

Shade Color Variation
Tint Color Variation

Tones of #5a51ba

A tone is produced by adding gray to any pure hue. In this case, #81808b is the less saturated color, while #2410fb is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a51ba 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
  • #606060 Achromatopsia 0.005% of the population
  • #5f5d72 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0064c5 Protanopia 1% of men
  • #0069af Deuteranopia 1% of men
  • #456e76 Tritanopia 0.001% of the population
Trichromacy
  • #205dc1 Protanomaly 1% of men, 0.01% of women
  • #2060b3 Deuteranomaly 6% of men, 0.4% of women
  • #4c638e Tritanomaly 0.01% of the population