#5940c6 Color Information

In a RGB color space, hex #5940c6 is composed of 34.9% red, 25.1% green and 77.6% blue. Whereas in a CMYK color space, it is composed of 55.1% cyan, 67.7% magenta, 0% yellow and 22.4% black. It has a hue angle of 251.2 degrees, a saturation of 54% and a lightness of 51.4%. #5940c6 color hex could be obtained by blending #b280ff with #00008d. Closest websafe color is: #6633cc.

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

#5940c6 color description : Moderate blue.

#5940c6 Color Conversion

The hexadecimal color #5940c6 has RGB values of R:89, G:64, B:198 and CMYK values of C:0.55, M:0.68, Y:0, K:0.22. Its decimal value is 5849286.

Hex triplet 5940c6 #5940c6
RGB Decimal 89, 64, 198 rgb(89,64,198)
RGB Percent 34.9, 25.1, 77.6 rgb(34.9%,25.1%,77.6%)
CMYK 55, 68, 0, 22
HSL 251.2°, 54, 51.4 hsl(251.2,54%,51.4%)
HSV (or HSB) 251.2°, 67.7, 77.6
Web Safe 6633cc #6633cc
CIE-LAB 37.603, 45.856, -66.355
XYZ 16.144, 9.867, 54.477
xyY 0.201, 0.123, 9.867
CIE-LCH 37.603, 80.658, 304.647
CIE-LUV 37.603, -0.346, -96.421
Hunter-Lab 31.412, 36.768, -80.835
Binary 01011001, 01000000, 11000110

Color Schemes with #5940c6

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

Alternatives to #5940c6

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

Similar Colors

#5940c6 Preview

Text with hexadecimal color #5940c6

This text has a font color of #5940c6.

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

This paragraph has a background color of #5940c6.

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

This element has a border color of #5940c6.

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

Shades and Tints of #5940c6

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

Shade Color Variation
Tint Color Variation

Tones of #5940c6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5940c6 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
  • #57526d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005eb7 Protanopia 1% of men
  • #0063a0 Deuteranopia 1% of men
  • #36686f Tritanopia 0.001% of the population
Trichromacy
  • #2053bd Protanomaly 1% of men, 0.01% of women
  • #2056ae Deuteranomaly 6% of men, 0.4% of women
  • #43598f Tritanomaly 0.01% of the population