#5a42ef Color Information

In a RGB color space, hex #5a42ef is composed of 35.3% red, 25.9% green and 93.7% blue. Whereas in a CMYK color space, it is composed of 62.3% cyan, 72.4% magenta, 0% yellow and 6.3% black. It has a hue angle of 248.3 degrees, a saturation of 84.4% and a lightness of 59.8%. #5a42ef color hex could be obtained by blending #b484ff with #0000df. Closest websafe color is: #6633ff.

    • R 35
    • G 26
    • B 94
    RGB color chart
    • C 62
    • M 72
    • Y 0
    • K 6
    CMYK color chart

#5a42ef color description : Bright blue.

#5a42ef Color Conversion

The hexadecimal color #5a42ef has RGB values of R:90, G:66, B:239 and CMYK values of C:0.62, M:0.72, Y:0, K:0.06. Its decimal value is 5915375.

Hex triplet 5a42ef #5a42ef
RGB Decimal 90, 66, 239 rgb(90,66,239)
RGB Percent 35.3, 25.9, 93.7 rgb(35.3%,25.9%,93.7%)
CMYK 62, 72, 0, 6
HSL 248.3°, 84.4, 59.8 hsl(248.3,84.4%,59.8%)
HSV (or HSB) 248.3°, 72.4, 93.7
Web Safe 6633ff #6633ff
CIE-LAB 41.691, 57.121, -83.148
XYZ 21.742, 12.301, 82.885
xyY 0.186, 0.105, 12.301
CIE-LCH 41.691, 100.878, 304.489
CIE-LUV 41.691, -3.614, -121.93
Hunter-Lab 35.073, 49.274, -115.564
Binary 01011010, 01000010, 11101111

Color Schemes with #5a42ef

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

Alternatives to #5a42ef

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

Similar Colors

#5a42ef Preview

Text with hexadecimal color #5a42ef

This text has a font color of #5a42ef.

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

This paragraph has a background color of #5a42ef.

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

This element has a border color of #5a42ef.

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

Shades and Tints of #5a42ef

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, #02010a is the darkest color, while #f8f7fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a42ef

A tone is produced by adding gray to any pure hue. In this case, #9391a0 is the less saturated color, while #4f32ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a42ef 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
  • #5d5d5d Achromatopsia 0.005% of the population
  • #5c587a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0067c9 Protanopia 1% of men
  • #006daf Deuteranopia 1% of men
  • #00747c Tritanopia 0.001% of the population
Trichromacy
  • #2059d7 Protanomaly 1% of men, 0.01% of women
  • #205dc6 Deuteranomaly 6% of men, 0.4% of women
  • #2062a6 Tritanomaly 0.01% of the population