#5840b5 Color Information

In a RGB color space, hex #5840b5 is composed of 34.5% red, 25.1% green and 71% blue. Whereas in a CMYK color space, it is composed of 51.4% cyan, 64.6% magenta, 0% yellow and 29% black. It has a hue angle of 252.3 degrees, a saturation of 47.8% and a lightness of 48%. #5840b5 color hex could be obtained by blending #b080ff with #00006b. Closest websafe color is: #6633cc.

    • R 35
    • G 25
    • B 71
    RGB color chart
    • C 51
    • M 65
    • Y 0
    • K 29
    CMYK color chart

#5840b5 color description : Moderate blue.

#5840b5 Color Conversion

The hexadecimal color #5840b5 has RGB values of R:88, G:64, B:181 and CMYK values of C:0.51, M:0.65, Y:0, K:0.29. Its decimal value is 5783733.

Hex triplet 5840b5 #5840b5
RGB Decimal 88, 64, 181 rgb(88,64,181)
RGB Percent 34.5, 25.1, 71 rgb(34.5%,25.1%,71%)
CMYK 51, 65, 0, 29
HSL 252.3°, 47.8, 48 hsl(252.3,47.8%,48%)
HSV (or HSB) 252.3°, 64.6, 71
Web Safe 6633cc #6633cc
CIE-LAB 36.133, 40.58, -58.779
XYZ 14.197, 9.077, 44.718
xyY 0.209, 0.134, 9.077
CIE-LCH 36.133, 71.426, 304.62
CIE-LUV 36.133, 0.825, -85.109
Hunter-Lab 30.129, 31.385, -66.909
Binary 01011000, 01000000, 10110101

Color Schemes with #5840b5

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

Alternatives to #5840b5

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

Similar Colors

#5840b5 Preview

Text with hexadecimal color #5840b5

This text has a font color of #5840b5.

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

This paragraph has a background color of #5840b5.

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

This element has a border color of #5840b5.

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

Shades and Tints of #5840b5

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

Shade Color Variation
Tint Color Variation

Tones of #5840b5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5840b5 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
  • #565168 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb1 Protanopia 1% of men
  • #005f9c Deuteranopia 1% of men
  • #41636a Tritanopia 0.001% of the population
Trichromacy
  • #2051b3 Protanomaly 1% of men, 0.01% of women
  • #2054a5 Deuteranomaly 6% of men, 0.4% of women
  • #495685 Tritanomaly 0.01% of the population