#5840f5 Color Information

In a RGB color space, hex #5840f5 is composed of 34.5% red, 25.1% green and 96.1% blue. Whereas in a CMYK color space, it is composed of 64.1% cyan, 73.9% magenta, 0% yellow and 3.9% black. It has a hue angle of 248 degrees, a saturation of 90% and a lightness of 60.6%. #5840f5 color hex could be obtained by blending #b080ff with #0000eb. Closest websafe color is: #6633ff.

    • R 35
    • G 25
    • B 96
    RGB color chart
    • C 64
    • M 74
    • Y 0
    • K 4
    CMYK color chart

#5840f5 color description : Bright blue.

#5840f5 Color Conversion

The hexadecimal color #5840f5 has RGB values of R:88, G:64, B:245 and CMYK values of C:0.64, M:0.74, Y:0, K:0.04. Its decimal value is 5783797.

Hex triplet 5840f5 #5840f5
RGB Decimal 88, 64, 245 rgb(88,64,245)
RGB Percent 34.5, 25.1, 96.1 rgb(34.5%,25.1%,96.1%)
CMYK 64, 74, 0, 4
HSL 248°, 90, 60.6 hsl(248,90%,60.6%)
HSV (or HSB) 248°, 73.9, 96.1
Web Safe 6633ff #6633ff
CIE-LAB 41.741, 59.669, -86.45
XYZ 22.336, 12.333, 87.585
xyY 0.183, 0.101, 12.333
CIE-LCH 41.741, 105.042, 304.614
CIE-LUV 41.741, -4.222, -126.006
Hunter-Lab 35.118, 52.073, -123.285
Binary 01011000, 01000000, 11110101

Color Schemes with #5840f5

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

Alternatives to #5840f5

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

Similar Colors

#5840f5 Preview

Text with hexadecimal color #5840f5

This text has a font color of #5840f5.

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

This paragraph has a background color of #5840f5.

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

This element has a border color of #5840f5.

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

Shades and Tints of #5840f5

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, #02010e is the darkest color, while #fbfaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5840f5

A tone is produced by adding gray to any pure hue. In this case, #9695a0 is the less saturated color, while #5238fd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5840f5 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
  • #5c5c5c Achromatopsia 0.005% of the population
  • #5b567b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0067c9 Protanopia 1% of men
  • #006daf Deuteranopia 1% of men
  • #00757c Tritanopia 0.001% of the population
Trichromacy
  • #2059d9 Protanomaly 1% of men, 0.01% of women
  • #205cc8 Deuteranomaly 6% of men, 0.4% of women
  • #2061a8 Tritanomaly 0.01% of the population