#5f40c7 Color Information

In a RGB color space, hex #5f40c7 is composed of 37.3% red, 25.1% green and 78% blue. Whereas in a CMYK color space, it is composed of 52.3% cyan, 67.8% magenta, 0% yellow and 22% black. It has a hue angle of 253.8 degrees, a saturation of 54.7% and a lightness of 51.6%. #5f40c7 color hex could be obtained by blending #be80ff with #00008f. Closest websafe color is: #6633cc.

    • R 37
    • G 25
    • B 78
    RGB color chart
    • C 52
    • M 68
    • Y 0
    • K 22
    CMYK color chart

#5f40c7 color description : Moderate blue.

#5f40c7 Color Conversion

The hexadecimal color #5f40c7 has RGB values of R:95, G:64, B:199 and CMYK values of C:0.52, M:0.68, Y:0, K:0.22. Its decimal value is 6242503.

Hex triplet 5f40c7 #5f40c7
RGB Decimal 95, 64, 199 rgb(95,64,199)
RGB Percent 37.3, 25.1, 78 rgb(37.3%,25.1%,78%)
CMYK 52, 68, 0, 22
HSL 253.8°, 54.7, 51.6 hsl(253.8,54.7%,51.6%)
HSV (or HSB) 253.8°, 67.8, 78
Web Safe 6633cc #6633cc
CIE-LAB 38.239, 47.145, -65.875
XYZ 16.86, 10.223, 55.115
xyY 0.205, 0.124, 10.223
CIE-LCH 38.239, 81.007, 305.59
CIE-LUV 38.239, 1.562, -96.509
Hunter-Lab 31.973, 38.171, -79.822
Binary 01011111, 01000000, 11000111

Color Schemes with #5f40c7

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

Alternatives to #5f40c7

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

Similar Colors

#5f40c7 Preview

Text with hexadecimal color #5f40c7

This text has a font color of #5f40c7.

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

This paragraph has a background color of #5f40c7.

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

This element has a border color of #5f40c7.

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

Shades and Tints of #5f40c7

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

Shade Color Variation
Tint Color Variation

Tones of #5f40c7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f40c7 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
  • #595959 Achromatopsia 0.005% of the population
  • #5a546f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005fba Protanopia 1% of men
  • #0064a3 Deuteranopia 1% of men
  • #416870 Tritanopia 0.001% of the population
Trichromacy
  • #2254bf Protanomaly 1% of men, 0.01% of women
  • #2257b0 Deuteranomaly 6% of men, 0.4% of women
  • #4c598f Tritanomaly 0.01% of the population