#5940b8 Color Information

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

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

#5940b8 color description : Moderate blue.

#5940b8 Color Conversion

The hexadecimal color #5940b8 has RGB values of R:89, G:64, B:184 and CMYK values of C:0.52, M:0.65, Y:0, K:0.28. Its decimal value is 5849272.

Hex triplet 5940b8 #5940b8
RGB Decimal 89, 64, 184 rgb(89,64,184)
RGB Percent 34.9, 25.1, 72.2 rgb(34.9%,25.1%,72.2%)
CMYK 52, 65, 0, 28
HSL 252.5°, 48.4, 48.6 hsl(252.5,48.4%,48.6%)
HSV (or HSB) 252.5°, 65.2, 72.2
Web Safe 6633cc #6633cc
CIE-LAB 36.463, 41.664, -60.009
XYZ 14.603, 9.251, 46.361
xyY 0.208, 0.132, 9.251
CIE-LCH 36.463, 73.054, 304.773
CIE-LUV 36.463, 0.9, -87.05
Hunter-Lab 30.415, 32.476, -69.082
Binary 01011001, 01000000, 10111000

Color Schemes with #5940b8

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

Alternatives to #5940b8

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

Similar Colors

#5940b8 Preview

Text with hexadecimal color #5940b8

This text has a font color of #5940b8.

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

This paragraph has a background color of #5940b8.

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

This element has a border color of #5940b8.

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

Shades and Tints of #5940b8

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 #5940b8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5940b8 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
  • #40636b Tritanopia 0.001% of the population
Trichromacy
  • #2051b4 Protanomaly 1% of men, 0.01% of women
  • #2054a7 Deuteranomaly 6% of men, 0.4% of women
  • #495687 Tritanomaly 0.01% of the population