#5f42d2 Color Information

In a RGB color space, hex #5f42d2 is composed of 37.3% red, 25.9% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 54.8% cyan, 68.6% magenta, 0% yellow and 17.6% black. It has a hue angle of 252.1 degrees, a saturation of 61.5% and a lightness of 54.1%. #5f42d2 color hex could be obtained by blending #be84ff with #0000a5. Closest websafe color is: #6633cc.

    • R 37
    • G 26
    • B 82
    RGB color chart
    • C 55
    • M 69
    • Y 0
    • K 18
    CMYK color chart

#5f42d2 color description : Moderate blue.

#5f42d2 Color Conversion

The hexadecimal color #5f42d2 has RGB values of R:95, G:66, B:210 and CMYK values of C:0.55, M:0.69, Y:0, K:0.18. Its decimal value is 6243026.

Hex triplet 5f42d2 #5f42d2
RGB Decimal 95, 66, 210 rgb(95,66,210)
RGB Percent 37.3, 25.9, 82.4 rgb(37.3%,25.9%,82.4%)
CMYK 55, 69, 0, 18
HSL 252.1°, 61.5, 54.1 hsl(252.1,61.5%,54.1%)
HSV (or HSB) 252.1°, 68.6, 82.4
Web Safe 6633cc #6633cc
CIE-LAB 39.55, 49.269, -70.106
XYZ 18.298, 10.982, 62.125
xyY 0.2, 0.12, 10.982
CIE-LCH 39.55, 85.687, 305.099
CIE-LUV 39.55, 0.154, -103.229
Hunter-Lab 33.139, 40.568, -87.952
Binary 01011111, 01000010, 11010010

Color Schemes with #5f42d2

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

Alternatives to #5f42d2

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

Similar Colors

#5f42d2 Preview

Text with hexadecimal color #5f42d2

This text has a font color of #5f42d2.

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

This paragraph has a background color of #5f42d2.

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

This element has a border color of #5f42d2.

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

Shades and Tints of #5f42d2

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, #000001 is the darkest color, while #f3f0fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f42d2

A tone is produced by adding gray to any pure hue. In this case, #858193 is the less saturated color, while #4415ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42d2 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
  • #5b5b5b Achromatopsia 0.005% of the population
  • #5c5673 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0062c0 Protanopia 1% of men
  • #0068a8 Deuteranopia 1% of men
  • #396c74 Tritanopia 0.001% of the population
Trichromacy
  • #2256c6 Protanomaly 1% of men, 0.01% of women
  • #225ab7 Deuteranomaly 6% of men, 0.4% of women
  • #475d96 Tritanomaly 0.01% of the population