#5f40c2 Color Information

In a RGB color space, hex #5f40c2 is composed of 37.3% red, 25.1% green and 76.1% blue. Whereas in a CMYK color space, it is composed of 51% cyan, 67% magenta, 0% yellow and 23.9% black. It has a hue angle of 254.3 degrees, a saturation of 51.6% and a lightness of 50.6%. #5f40c2 color hex could be obtained by blending #be80ff with #000085. Closest websafe color is: #6633cc.

    • R 37
    • G 25
    • B 76
    RGB color chart
    • C 51
    • M 67
    • Y 0
    • K 24
    CMYK color chart

#5f40c2 color description : Moderate blue.

#5f40c2 Color Conversion

The hexadecimal color #5f40c2 has RGB values of R:95, G:64, B:194 and CMYK values of C:0.51, M:0.67, Y:0, K:0.24. Its decimal value is 6242498.

Hex triplet 5f40c2 #5f40c2
RGB Decimal 95, 64, 194 rgb(95,64,194)
RGB Percent 37.3, 25.1, 76.1 rgb(37.3%,25.1%,76.1%)
CMYK 51, 67, 0, 24
HSL 254.3°, 51.6, 50.6 hsl(254.3,51.6%,50.6%)
HSV (or HSB) 254.3°, 67, 76.1
Web Safe 6633cc #6633cc
CIE-LAB 37.832, 45.691, -63.623
XYZ 16.289, 9.994, 52.107
xyY 0.208, 0.127, 9.994
CIE-LCH 37.832, 78.33, 305.684
CIE-LUV 37.832, 2.052, -93.173
Hunter-Lab 31.614, 36.645, -75.594
Binary 01011111, 01000000, 11000010

Color Schemes with #5f40c2

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

Alternatives to #5f40c2

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

Similar Colors

#5f40c2 Preview

Text with hexadecimal color #5f40c2

This text has a font color of #5f40c2.

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

This paragraph has a background color of #5f40c2.

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

This element has a border color of #5f40c2.

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

Shades and Tints of #5f40c2

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

Shade Color Variation
Tint Color Variation

Tones of #5f40c2

A tone is produced by adding gray to any pure hue. In this case, #7d7a88 is the less saturated color, while #4106fc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f40c2 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
  • #585858 Achromatopsia 0.005% of the population
  • #59536d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005eb9 Protanopia 1% of men
  • #0063a2 Deuteranopia 1% of men
  • #44666e Tritanopia 0.001% of the population
Trichromacy
  • #2253bc Protanomaly 1% of men, 0.01% of women
  • #2256ad Deuteranomaly 6% of men, 0.4% of women
  • #4e588c Tritanomaly 0.01% of the population