#5f40cc Color Information

In a RGB color space, hex #5f40cc is composed of 37.3% red, 25.1% green and 80% blue. Whereas in a CMYK color space, it is composed of 53.4% cyan, 68.6% magenta, 0% yellow and 20% black. It has a hue angle of 253.3 degrees, a saturation of 57.9% and a lightness of 52.5%. #5f40cc color hex could be obtained by blending #be80ff with #000099. Closest websafe color is: #6633cc.

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

#5f40cc color description : Moderate blue.

#5f40cc Color Conversion

The hexadecimal color #5f40cc has RGB values of R:95, G:64, B:204 and CMYK values of C:0.53, M:0.69, Y:0, K:0.2. Its decimal value is 6242508.

Hex triplet 5f40cc #5f40cc
RGB Decimal 95, 64, 204 rgb(95,64,204)
RGB Percent 37.3, 25.1, 80 rgb(37.3%,25.1%,80%)
CMYK 53, 69, 0, 20
HSL 253.3°, 57.9, 52.5 hsl(253.3,57.9%,52.5%)
HSV (or HSB) 253.3°, 68.6, 80
Web Safe 6633cc #6633cc
CIE-LAB 38.654, 48.6, -68.103
XYZ 17.45, 10.459, 58.223
xyY 0.203, 0.121, 10.459
CIE-LCH 38.654, 83.665, 305.512
CIE-LUV 38.654, 1.084, -99.808
Hunter-Lab 32.34, 39.718, -84.103
Binary 01011111, 01000000, 11001100

Color Schemes with #5f40cc

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

Alternatives to #5f40cc

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

Similar Colors

#5f40cc Preview

Text with hexadecimal color #5f40cc

This text has a font color of #5f40cc.

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

This paragraph has a background color of #5f40cc.

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

This element has a border color of #5f40cc.

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

Shades and Tints of #5f40cc

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, #04030a is the darkest color, while #fbfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f40cc

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f40cc 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
  • #5a5470 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0060bc Protanopia 1% of men
  • #0065a4 Deuteranopia 1% of men
  • #3e6a71 Tritanopia 0.001% of the population
Trichromacy
  • #2254c2 Protanomaly 1% of men, 0.01% of women
  • #2258b3 Deuteranomaly 6% of men, 0.4% of women
  • #4a5a92 Tritanomaly 0.01% of the population