#5f40b8 Color Information

In a RGB color space, hex #5f40b8 is composed of 37.3% red, 25.1% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 48.4% cyan, 65.2% magenta, 0% yellow and 27.8% black. It has a hue angle of 255.5 degrees, a saturation of 48.4% and a lightness of 48.6%. #5f40b8 color hex could be obtained by blending #be80ff with #000071. Closest websafe color is: #6633cc.

    • R 37
    • G 25
    • B 72
    RGB color chart
    • C 48
    • M 65
    • Y 0
    • K 28
    CMYK color chart

#5f40b8 color description : Moderate violet.

#5f40b8 Color Conversion

The hexadecimal color #5f40b8 has RGB values of R:95, G:64, B:184 and CMYK values of C:0.48, M:0.65, Y:0, K:0.28. Its decimal value is 6242488.

Hex triplet 5f40b8 #5f40b8
RGB Decimal 95, 64, 184 rgb(95,64,184)
RGB Percent 37.3, 25.1, 72.2 rgb(37.3%,25.1%,72.2%)
CMYK 48, 65, 0, 28
HSL 255.5°, 48.4, 48.6 hsl(255.5,48.4%,48.6%)
HSV (or HSB) 255.5°, 65.2, 72.2
Web Safe 6633cc #6633cc
CIE-LAB 37.041, 42.789, -59.042
XYZ 15.203, 9.56, 46.389
xyY 0.214, 0.134, 9.56
CIE-LCH 37.041, 72.917, 305.931
CIE-LUV 37.041, 3.073, -86.381
Hunter-Lab 30.919, 33.658, -67.31
Binary 01011111, 01000000, 10111000

Color Schemes with #5f40b8

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

Alternatives to #5f40b8

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

Similar Colors

#5f40b8 Preview

Text with hexadecimal color #5f40b8

This text has a font color of #5f40b8.

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

This paragraph has a background color of #5f40b8.

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

This element has a border color of #5f40b8.

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

Shades and Tints of #5f40b8

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

Shade Color Variation
Tint Color Variation

Tones of #5f40b8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f40b8 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
  • #575757 Achromatopsia 0.005% of the population
  • #59526a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db5 Protanopia 1% of men
  • #0061a0 Deuteranopia 1% of men
  • #4a636b Tritanopia 0.001% of the population
Trichromacy
  • #2252b6 Protanomaly 1% of men, 0.01% of women
  • #2255a8 Deuteranomaly 6% of men, 0.4% of women
  • #515687 Tritanomaly 0.01% of the population