#5840f2 Color Information

In a RGB color space, hex #5840f2 is composed of 34.5% red, 25.1% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 63.6% cyan, 73.6% magenta, 0% yellow and 5.1% black. It has a hue angle of 248.1 degrees, a saturation of 87.3% and a lightness of 60%. #5840f2 color hex could be obtained by blending #b080ff with #0000e5. Closest websafe color is: #6633ff.

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

#5840f2 color description : Bright blue.

#5840f2 Color Conversion

The hexadecimal color #5840f2 has RGB values of R:88, G:64, B:242 and CMYK values of C:0.64, M:0.74, Y:0, K:0.05. Its decimal value is 5783794.

Hex triplet 5840f2 #5840f2
RGB Decimal 88, 64, 242 rgb(88,64,242)
RGB Percent 34.5, 25.1, 94.9 rgb(34.5%,25.1%,94.9%)
CMYK 64, 74, 0, 5
HSL 248.1°, 87.3, 60 hsl(248.1,87.3%,60%)
HSV (or HSB) 248.1°, 73.6, 94.9
Web Safe 6633ff #6633ff
CIE-LAB 41.456, 58.791, -85.232
XYZ 21.882, 12.151, 85.192
xyY 0.184, 0.102, 12.151
CIE-LCH 41.456, 103.541, 304.597
CIE-LUV 41.456, -4.015, -124.196
Hunter-Lab 34.859, 51.047, -120.498
Binary 01011000, 01000000, 11110010

Color Schemes with #5840f2

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

Alternatives to #5840f2

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

Similar Colors

#5840f2 Preview

Text with hexadecimal color #5840f2

This text has a font color of #5840f2.

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

This paragraph has a background color of #5840f2.

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

This element has a border color of #5840f2.

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

Shades and Tints of #5840f2

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

Shade Color Variation
Tint Color Variation

Tones of #5840f2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5840f2 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
  • #5b5b5b Achromatopsia 0.005% of the population
  • #5a5679 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0066c8 Protanopia 1% of men
  • #006cae Deuteranopia 1% of men
  • #00747b Tritanopia 0.001% of the population
Trichromacy
  • #2058d7 Protanomaly 1% of men, 0.01% of women
  • #205cc6 Deuteranomaly 6% of men, 0.4% of women
  • #2061a6 Tritanomaly 0.01% of the population