#5f42d9 Color Information

In a RGB color space, hex #5f42d9 is composed of 37.3% red, 25.9% green and 85.1% blue. Whereas in a CMYK color space, it is composed of 56.2% cyan, 69.6% magenta, 0% yellow and 14.9% black. It has a hue angle of 251.5 degrees, a saturation of 66.5% and a lightness of 55.5%. #5f42d9 color hex could be obtained by blending #be84ff with #0000b3. Closest websafe color is: #6633cc.

    • R 37
    • G 26
    • B 85
    RGB color chart
    • C 56
    • M 70
    • Y 0
    • K 15
    CMYK color chart

#5f42d9 color description : Soft blue.

#5f42d9 Color Conversion

The hexadecimal color #5f42d9 has RGB values of R:95, G:66, B:217 and CMYK values of C:0.56, M:0.7, Y:0, K:0.15. Its decimal value is 6243033.

Hex triplet 5f42d9 #5f42d9
RGB Decimal 95, 66, 217 rgb(95,66,217)
RGB Percent 37.3, 25.9, 85.1 rgb(37.3%,25.9%,85.1%)
CMYK 56, 70, 0, 15
HSL 251.5°, 66.5, 55.5 hsl(251.5,66.5%,55.5%)
HSV (or HSB) 251.5°, 69.6, 85.1
Web Safe 6633cc #6633cc
CIE-LAB 40.145, 51.319, -73.157
XYZ 19.19, 11.338, 66.819
xyY 0.197, 0.116, 11.338
CIE-LCH 40.145, 89.363, 305.049
CIE-LUV 40.145, -0.462, -107.766
Hunter-Lab 33.673, 42.797, -94.083
Binary 01011111, 01000010, 11011001

Color Schemes with #5f42d9

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

Alternatives to #5f42d9

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

Similar Colors

#5f42d9 Preview

Text with hexadecimal color #5f42d9

This text has a font color of #5f42d9.

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

This paragraph has a background color of #5f42d9.

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

This element has a border color of #5f42d9.

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

Shades and Tints of #5f42d9

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

Shade Color Variation
Tint Color Variation

Tones of #5f42d9

A tone is produced by adding gray to any pure hue. In this case, #8a8893 is the less saturated color, while #491ffc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42d9 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
  • #5c5c5c Achromatopsia 0.005% of the population
  • #5d5775 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0063c2 Protanopia 1% of men
  • #0069aa Deuteranopia 1% of men
  • #326f77 Tritanopia 0.001% of the population
Trichromacy
  • #2257ca Protanomaly 1% of men, 0.01% of women
  • #225bbb Deuteranomaly 6% of men, 0.4% of women
  • #425e9a Tritanomaly 0.01% of the population