#5f40c8 Color Information

In a RGB color space, hex #5f40c8 is composed of 37.3% red, 25.1% green and 78.4% blue. Whereas in a CMYK color space, it is composed of 52.5% cyan, 68% magenta, 0% yellow and 21.6% black. It has a hue angle of 253.7 degrees, a saturation of 55.3% and a lightness of 51.8%. #5f40c8 color hex could be obtained by blending #be80ff with #000091. Closest websafe color is: #6633cc.

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

#5f40c8 color description : Moderate blue.

#5f40c8 Color Conversion

The hexadecimal color #5f40c8 has RGB values of R:95, G:64, B:200 and CMYK values of C:0.53, M:0.68, Y:0, K:0.22. Its decimal value is 6242504.

Hex triplet 5f40c8 #5f40c8
RGB Decimal 95, 64, 200 rgb(95,64,200)
RGB Percent 37.3, 25.1, 78.4 rgb(37.3%,25.1%,78.4%)
CMYK 53, 68, 0, 22
HSL 253.7°, 55.3, 51.8 hsl(253.7,55.3%,51.8%)
HSV (or HSB) 253.7°, 68, 78.4
Web Safe 6633cc #6633cc
CIE-LAB 38.322, 47.436, -66.323
XYZ 16.976, 10.269, 55.728
xyY 0.205, 0.124, 10.269
CIE-LCH 38.322, 81.541, 305.573
CIE-LUV 38.322, 1.465, -97.172
Hunter-Lab 32.046, 38.479, -80.674
Binary 01011111, 01000000, 11001000

Color Schemes with #5f40c8

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

Alternatives to #5f40c8

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

Similar Colors

#5f40c8 Preview

Text with hexadecimal color #5f40c8

This text has a font color of #5f40c8.

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

This paragraph has a background color of #5f40c8.

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

This element has a border color of #5f40c8.

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

Shades and Tints of #5f40c8

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

Shade Color Variation
Tint Color Variation

Tones of #5f40c8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f40c8 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
  • #005fbb Protanopia 1% of men
  • #0065a3 Deuteranopia 1% of men
  • #406870 Tritanopia 0.001% of the population
Trichromacy
  • #2254bf Protanomaly 1% of men, 0.01% of women
  • #2257b1 Deuteranomaly 6% of men, 0.4% of women
  • #4b5990 Tritanomaly 0.01% of the population