#5f42cc Color Information

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

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

#5f42cc color description : Moderate blue.

#5f42cc Color Conversion

The hexadecimal color #5f42cc has RGB values of R:95, G:66, B:204 and CMYK values of C:0.53, M:0.68, Y:0, K:0.2. Its decimal value is 6243020.

Hex triplet 5f42cc #5f42cc
RGB Decimal 95, 66, 204 rgb(95,66,204)
RGB Percent 37.3, 25.9, 80 rgb(37.3%,25.9%,80%)
CMYK 53, 68, 0, 20
HSL 252.6°, 57.5, 52.9 hsl(252.6,57.5%,52.9%)
HSV (or HSB) 252.6°, 67.6, 80
Web Safe 6633cc #6633cc
CIE-LAB 39.051, 47.51, -67.454
XYZ 17.565, 10.689, 58.261
xyY 0.203, 0.124, 10.689
CIE-LCH 39.051, 82.506, 305.158
CIE-LUV 39.051, 0.698, -99.285
Hunter-Lab 32.693, 38.687, -82.772
Binary 01011111, 01000010, 11001100

Color Schemes with #5f42cc

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

Alternatives to #5f42cc

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

Similar Colors

#5f42cc Preview

Text with hexadecimal color #5f42cc

This text has a font color of #5f42cc.

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

This paragraph has a background color of #5f42cc.

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

This element has a border color of #5f42cc.

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

Shades and Tints of #5f42cc

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 #5f42cc

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42cc 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
  • #5a5a5a Achromatopsia 0.005% of the population
  • #5b5571 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0061be Protanopia 1% of men
  • #0066a6 Deuteranopia 1% of men
  • #3e6b72 Tritanopia 0.001% of the population
Trichromacy
  • #2256c3 Protanomaly 1% of men, 0.01% of women
  • #2259b4 Deuteranomaly 6% of men, 0.4% of women
  • #4a5c93 Tritanomaly 0.01% of the population