#5940b9 Color Information

In a RGB color space, hex #5940b9 is composed of 34.9% red, 25.1% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 51.9% cyan, 65.4% magenta, 0% yellow and 27.5% black. It has a hue angle of 252.4 degrees, a saturation of 48.6% and a lightness of 48.8%. #5940b9 color hex could be obtained by blending #b280ff with #000073. Closest websafe color is: #6633cc.

    • R 35
    • G 25
    • B 73
    RGB color chart
    • C 52
    • M 65
    • Y 0
    • K 27
    CMYK color chart

#5940b9 color description : Moderate blue.

#5940b9 Color Conversion

The hexadecimal color #5940b9 has RGB values of R:89, G:64, B:185 and CMYK values of C:0.52, M:0.65, Y:0, K:0.27. Its decimal value is 5849273.

Hex triplet 5940b9 #5940b9
RGB Decimal 89, 64, 185 rgb(89,64,185)
RGB Percent 34.9, 25.1, 72.5 rgb(34.9%,25.1%,72.5%)
CMYK 52, 65, 0, 27
HSL 252.4°, 48.6, 48.8 hsl(252.4,48.6%,48.8%)
HSV (or HSB) 252.4°, 65.4, 72.5
Web Safe 6633cc #6633cc
CIE-LAB 36.543, 41.964, -60.469
XYZ 14.709, 9.293, 46.915
xyY 0.207, 0.131, 9.293
CIE-LCH 36.543, 73.603, 304.76
CIE-LUV 36.543, 0.808, -87.73
Hunter-Lab 30.485, 32.777, -69.907
Binary 01011001, 01000000, 10111001

Color Schemes with #5940b9

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

Alternatives to #5940b9

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

Similar Colors

#5940b9 Preview

Text with hexadecimal color #5940b9

This text has a font color of #5940b9.

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

This paragraph has a background color of #5940b9.

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

This element has a border color of #5940b9.

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

Shades and Tints of #5940b9

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, #05030a is the darkest color, while #fbfbfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5940b9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5940b9 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
  • #555555 Achromatopsia 0.005% of the population
  • #565169 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb3 Protanopia 1% of men
  • #00609d Deuteranopia 1% of men
  • #40646b Tritanopia 0.001% of the population
Trichromacy
  • #2051b5 Protanomaly 1% of men, 0.01% of women
  • #2054a7 Deuteranomaly 6% of men, 0.4% of women
  • #495787 Tritanomaly 0.01% of the population