#5840b9 Color Information

In a RGB color space, hex #5840b9 is composed of 34.5% red, 25.1% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 52.4% cyan, 65.4% magenta, 0% yellow and 27.5% black. It has a hue angle of 251.9 degrees, a saturation of 48.6% and a lightness of 48.8%. #5840b9 color hex could be obtained by blending #b080ff 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

#5840b9 color description : Moderate blue.

#5840b9 Color Conversion

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

Hex triplet 5840b9 #5840b9
RGB Decimal 88, 64, 185 rgb(88,64,185)
RGB Percent 34.5, 25.1, 72.5 rgb(34.5%,25.1%,72.5%)
CMYK 52, 65, 0, 27
HSL 251.9°, 48.6, 48.8 hsl(251.9,48.6%,48.8%)
HSV (or HSB) 251.9°, 65.4, 72.5
Web Safe 6633cc #6633cc
CIE-LAB 36.45, 41.782, -60.624
XYZ 14.613, 9.244, 46.911
xyY 0.206, 0.131, 9.244
CIE-LCH 36.45, 73.628, 304.575
CIE-LUV 36.45, 0.463, -87.834
Hunter-Lab 30.404, 32.587, -70.197
Binary 01011000, 01000000, 10111001

Color Schemes with #5840b9

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

Alternatives to #5840b9

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

Similar Colors

#5840b9 Preview

Text with hexadecimal color #5840b9

This text has a font color of #5840b9.

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

This paragraph has a background color of #5840b9.

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

This element has a border color of #5840b9.

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

Shades and Tints of #5840b9

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 #5840b9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5840b9 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
  • #3e646b 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
  • #475787 Tritanomaly 0.01% of the population