#5940ef Color Information

In a RGB color space, hex #5940ef is composed of 34.9% red, 25.1% green and 93.7% blue. Whereas in a CMYK color space, it is composed of 62.8% cyan, 73.2% magenta, 0% yellow and 6.3% black. It has a hue angle of 248.6 degrees, a saturation of 84.5% and a lightness of 59.4%. #5940ef color hex could be obtained by blending #b280ff with #0000df. Closest websafe color is: #6633ff.

    • R 35
    • G 25
    • B 94
    RGB color chart
    • C 63
    • M 73
    • Y 0
    • K 6
    CMYK color chart

#5940ef color description : Bright blue.

#5940ef Color Conversion

The hexadecimal color #5940ef has RGB values of R:89, G:64, B:239 and CMYK values of C:0.63, M:0.73, Y:0, K:0.06. Its decimal value is 5849327.

Hex triplet 5940ef #5940ef
RGB Decimal 89, 64, 239 rgb(89,64,239)
RGB Percent 34.9, 25.1, 93.7 rgb(34.9%,25.1%,93.7%)
CMYK 63, 73, 0, 6
HSL 248.6°, 84.5, 59.4 hsl(248.6,84.5%,59.4%)
HSV (or HSB) 248.6°, 73.2, 93.7
Web Safe 6633ff #6633ff
CIE-LAB 41.251, 58.024, -83.875
XYZ 21.53, 12.022, 82.842
xyY 0.185, 0.103, 12.022
CIE-LCH 41.251, 101.99, 304.675
CIE-LUV 41.251, -3.552, -122.324
Hunter-Lab 34.672, 50.165, -117.391
Binary 01011001, 01000000, 11101111

Color Schemes with #5940ef

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

Alternatives to #5940ef

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

Similar Colors

#5940ef Preview

Text with hexadecimal color #5940ef

This text has a font color of #5940ef.

<span style="color:#5940ef;">Text here</span>
#5940ef background color

This paragraph has a background color of #5940ef.

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

This element has a border color of #5940ef.

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

Shades and Tints of #5940ef

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

Shade Color Variation
Tint Color Variation

Tones of #5940ef

A tone is produced by adding gray to any pure hue. In this case, #92909f is the less saturated color, while #4e30ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5940ef 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
  • #5b5b5b Achromatopsia 0.005% of the population
  • #5b5679 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0066c7 Protanopia 1% of men
  • #006cad Deuteranopia 1% of men
  • #00737b Tritanopia 0.001% of the population
Trichromacy
  • #2058d5 Protanomaly 1% of men, 0.01% of women
  • #205cc5 Deuteranomaly 6% of men, 0.4% of women
  • #2060a5 Tritanomaly 0.01% of the population