#5a42cb Color Information

In a RGB color space, hex #5a42cb is composed of 35.3% red, 25.9% green and 79.6% blue. Whereas in a CMYK color space, it is composed of 55.7% cyan, 67.5% magenta, 0% yellow and 20.4% black. It has a hue angle of 250.5 degrees, a saturation of 56.8% and a lightness of 52.7%. #5a42cb color hex could be obtained by blending #b484ff with #000097. Closest websafe color is: #6633cc.

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

#5a42cb color description : Moderate blue.

#5a42cb Color Conversion

The hexadecimal color #5a42cb has RGB values of R:90, G:66, B:203 and CMYK values of C:0.56, M:0.67, Y:0, K:0.2. Its decimal value is 5915339.

Hex triplet 5a42cb #5a42cb
RGB Decimal 90, 66, 203 rgb(90,66,203)
RGB Percent 35.3, 25.9, 79.6 rgb(35.3%,25.9%,79.6%)
CMYK 56, 67, 0, 20
HSL 250.5°, 56.8, 52.7 hsl(250.5,56.8%,52.7%)
HSV (or HSB) 250.5°, 67.5, 79.6
Web Safe 6633cc #6633cc
CIE-LAB 38.518, 46.4, -67.762
XYZ 16.942, 10.381, 57.608
xyY 0.199, 0.122, 10.381
CIE-LCH 38.518, 82.126, 304.401
CIE-LUV 38.518, -0.844, -99.096
Hunter-Lab 32.22, 37.474, -83.453
Binary 01011010, 01000010, 11001011

Color Schemes with #5a42cb

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

Alternatives to #5a42cb

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

Similar Colors

#5a42cb Preview

Text with hexadecimal color #5a42cb

This text has a font color of #5a42cb.

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

This paragraph has a background color of #5a42cb.

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

This element has a border color of #5a42cb.

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

Shades and Tints of #5a42cb

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, #04030b is the darkest color, while #fbfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a42cb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a42cb 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
  • #0060bb Protanopia 1% of men
  • #0065a4 Deuteranopia 1% of men
  • #346a72 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
  • #425b92 Tritanomaly 0.01% of the population