#5a42cf Color Information

In a RGB color space, hex #5a42cf is composed of 35.3% red, 25.9% green and 81.2% blue. Whereas in a CMYK color space, it is composed of 56.5% cyan, 68.1% magenta, 0% yellow and 18.8% black. It has a hue angle of 250.2 degrees, a saturation of 59.5% and a lightness of 53.5%. #5a42cf color hex could be obtained by blending #b484ff with #00009f. Closest websafe color is: #6633cc.

    • R 35
    • G 26
    • B 81
    RGB color chart
    • C 57
    • M 68
    • Y 0
    • K 19
    CMYK color chart

#5a42cf color description : Moderate blue.

#5a42cf Color Conversion

The hexadecimal color #5a42cf has RGB values of R:90, G:66, B:207 and CMYK values of C:0.57, M:0.68, Y:0, K:0.19. Its decimal value is 5915343.

Hex triplet 5a42cf #5a42cf
RGB Decimal 90, 66, 207 rgb(90,66,207)
RGB Percent 35.3, 25.9, 81.2 rgb(35.3%,25.9%,81.2%)
CMYK 57, 68, 0, 19
HSL 250.2°, 59.5, 53.5 hsl(250.2,59.5%,53.5%)
HSV (or HSB) 250.2°, 68.1, 81.2
Web Safe 6633cc #6633cc
CIE-LAB 38.854, 47.6, -69.529
XYZ 17.425, 10.575, 60.151
xyY 0.198, 0.12, 10.575
CIE-LCH 38.854, 84.262, 304.396
CIE-LUV 38.854, -1.175, -101.716
Hunter-Lab 32.518, 38.742, -86.908
Binary 01011010, 01000010, 11001111

Color Schemes with #5a42cf

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

Alternatives to #5a42cf

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

Similar Colors

#5a42cf Preview

Text with hexadecimal color #5a42cf

This text has a font color of #5a42cf.

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

This paragraph has a background color of #5a42cf.

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

This element has a border color of #5a42cf.

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

Shades and Tints of #5a42cf

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

Shade Color Variation
Tint Color Variation

Tones of #5a42cf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a42cf 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
  • #595471 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0061bd Protanopia 1% of men
  • #0066a5 Deuteranopia 1% of men
  • #306b73 Tritanopia 0.001% of the population
Trichromacy
  • #2055c3 Protanomaly 1% of men, 0.01% of women
  • #2059b4 Deuteranomaly 6% of men, 0.4% of women
  • #3f5c94 Tritanomaly 0.01% of the population