#5a51b0 Color Information

In a RGB color space, hex #5a51b0 is composed of 35.3% red, 31.8% green and 69% blue. Whereas in a CMYK color space, it is composed of 48.9% cyan, 54% magenta, 0% yellow and 31% black. It has a hue angle of 245.7 degrees, a saturation of 37.5% and a lightness of 50.4%. #5a51b0 color hex could be obtained by blending #b4a2ff with #000061. Closest websafe color is: #666699.

    • R 35
    • G 32
    • B 69
    RGB color chart
    • C 49
    • M 54
    • Y 0
    • K 31
    CMYK color chart

#5a51b0 color description : Dark moderate blue.

#5a51b0 Color Conversion

The hexadecimal color #5a51b0 has RGB values of R:90, G:81, B:176 and CMYK values of C:0.49, M:0.54, Y:0, K:0.31. Its decimal value is 5919152.

Hex triplet 5a51b0 #5a51b0
RGB Decimal 90, 81, 176 rgb(90,81,176)
RGB Percent 35.3, 31.8, 69 rgb(35.3%,31.8%,69%)
CMYK 49, 54, 0, 31
HSL 245.7°, 37.5, 50.4 hsl(245.7,37.5%,50.4%)
HSV (or HSB) 245.7°, 54, 69
Web Safe 666699 #666699
CIE-LAB 39.903, 29.203, -49.713
XYZ 14.994, 11.193, 42.442
xyY 0.218, 0.163, 11.193
CIE-LCH 39.903, 57.655, 300.431
CIE-LUV 39.903, -2.336, -74.495
Hunter-Lab 33.456, 21.452, -51.798
Binary 01011010, 01010001, 10110000

Color Schemes with #5a51b0

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

Alternatives to #5a51b0

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

Similar Colors

#5a51b0 Preview

Text with hexadecimal color #5a51b0

This text has a font color of #5a51b0.

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

This paragraph has a background color of #5a51b0.

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

This element has a border color of #5a51b0.

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

Shades and Tints of #5a51b0

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

Shade Color Variation
Tint Color Variation

Tones of #5a51b0

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a51b0 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
  • #5f5f5f Achromatopsia 0.005% of the population
  • #5e5c6f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2763bc Protanopia 1% of men
  • #0068ad Deuteranopia 1% of men
  • #4a6b73 Tritanopia 0.001% of the population
Trichromacy
  • #395cb7 Protanomaly 1% of men, 0.01% of women
  • #205fae Deuteranomaly 6% of men, 0.4% of women
  • #506189 Tritanomaly 0.01% of the population