#5a42cc Color Information

In a RGB color space, hex #5a42cc is composed of 35.3% red, 25.9% green and 80% blue. Whereas in a CMYK color space, it is composed of 55.9% cyan, 67.6% magenta, 0% yellow and 20% black. It has a hue angle of 250.4 degrees, a saturation of 57.5% and a lightness of 52.9%. #5a42cc color hex could be obtained by blending #b484ff with #000099. Closest websafe color is: #6633cc.

    • R 35
    • G 26
    • B 80
    RGB color chart
    • C 56
    • M 68
    • Y 0
    • K 20
    CMYK color chart

#5a42cc color description : Moderate blue.

#5a42cc Color Conversion

The hexadecimal color #5a42cc has RGB values of R:90, G:66, B:204 and CMYK values of C:0.56, M:0.68, Y:0, K:0.2. Its decimal value is 5915340.

Hex triplet 5a42cc #5a42cc
RGB Decimal 90, 66, 204 rgb(90,66,204)
RGB Percent 35.3, 25.9, 80 rgb(35.3%,25.9%,80%)
CMYK 56, 68, 0, 20
HSL 250.4°, 57.5, 52.9 hsl(250.4,57.5%,52.9%)
HSV (or HSB) 250.4°, 67.6, 80
Web Safe 6633cc #6633cc
CIE-LAB 38.602, 46.7, -68.206
XYZ 17.062, 10.429, 58.237
xyY 0.199, 0.122, 10.429
CIE-LCH 38.602, 82.661, 304.399
CIE-LUV 38.602, -0.927, -99.753
Hunter-Lab 32.294, 37.79, -84.314
Binary 01011010, 01000010, 11001100

Color Schemes with #5a42cc

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

Alternatives to #5a42cc

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

Similar Colors

#5a42cc Preview

Text with hexadecimal color #5a42cc

This text has a font color of #5a42cc.

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

This paragraph has a background color of #5a42cc.

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

This element has a border color of #5a42cc.

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

Shades and Tints of #5a42cc

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, #05030c is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a42cc

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a42cc 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
  • #595959 Achromatopsia 0.005% of the population
  • #595470 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0060bc Protanopia 1% of men
  • #0065a4 Deuteranopia 1% of men
  • #336b72 Tritanopia 0.001% of the population
Trichromacy
  • #2055c1 Protanomaly 1% of men, 0.01% of women
  • #2058b2 Deuteranomaly 6% of men, 0.4% of women
  • #415c93 Tritanomaly 0.01% of the population