#5e40d8 Color Information

In a RGB color space, hex #5e40d8 is composed of 36.9% red, 25.1% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 56.5% cyan, 70.4% magenta, 0% yellow and 15.3% black. It has a hue angle of 251.8 degrees, a saturation of 66.1% and a lightness of 54.9%. #5e40d8 color hex could be obtained by blending #bc80ff with #0000b1. Closest websafe color is: #6633cc.

    • R 37
    • G 25
    • B 85
    RGB color chart
    • C 56
    • M 70
    • Y 0
    • K 15
    CMYK color chart

#5e40d8 color description : Moderate blue.

#5e40d8 Color Conversion

The hexadecimal color #5e40d8 has RGB values of R:94, G:64, B:216 and CMYK values of C:0.56, M:0.7, Y:0, K:0.15. Its decimal value is 6176984.

Hex triplet 5e40d8 #5e40d8
RGB Decimal 94, 64, 216 rgb(94,64,216)
RGB Percent 36.9, 25.1, 84.7 rgb(36.9%,25.1%,84.7%)
CMYK 56, 70, 0, 15
HSL 251.8°, 66.1, 54.9 hsl(251.8,66.1%,54.9%)
HSV (or HSB) 251.8°, 70.4, 84.7
Web Safe 6633cc #6633cc
CIE-LAB 39.587, 51.942, -73.502
XYZ 18.842, 11.004, 66.093
xyY 0.196, 0.115, 11.004
CIE-LCH 39.587, 90.002, 305.248
CIE-LUV 39.587, -0.327, -107.663
Hunter-Lab 33.172, 43.338, -94.911
Binary 01011110, 01000000, 11011000

Color Schemes with #5e40d8

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

Alternatives to #5e40d8

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

Similar Colors

#5e40d8 Preview

Text with hexadecimal color #5e40d8

This text has a font color of #5e40d8.

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

This paragraph has a background color of #5e40d8.

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

This element has a border color of #5e40d8.

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

Shades and Tints of #5e40d8

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

Shade Color Variation
Tint Color Variation

Tones of #5e40d8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5e40d8 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
  • #5a5a5a Achromatopsia 0.005% of the population
  • #5b5573 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0062c0 Protanopia 1% of men
  • #0068a7 Deuteranopia 1% of men
  • #306d75 Tritanopia 0.001% of the population
Trichromacy
  • #2256c8 Protanomaly 1% of men, 0.01% of women
  • #2259b9 Deuteranomaly 6% of men, 0.4% of women
  • #415d99 Tritanomaly 0.01% of the population