#5158f6 Color Information

In a RGB color space, hex #5158f6 is composed of 31.8% red, 34.5% green and 96.5% blue. Whereas in a CMYK color space, it is composed of 67.1% cyan, 64.2% magenta, 0% yellow and 3.5% black. It has a hue angle of 237.5 degrees, a saturation of 90.2% and a lightness of 64.1%. #5158f6 color hex could be obtained by blending #a2b0ff with #0000ed. Closest websafe color is: #6666ff.

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

#5158f6 color description : Soft blue.

#5158f6 Color Conversion

The hexadecimal color #5158f6 has RGB values of R:81, G:88, B:246 and CMYK values of C:0.67, M:0.64, Y:0, K:0.04. Its decimal value is 5331190.

Hex triplet 5158f6 #5158f6
RGB Decimal 81, 88, 246 rgb(81,88,246)
RGB Percent 31.8, 34.5, 96.5 rgb(31.8%,34.5%,96.5%)
CMYK 67, 64, 0, 4
HSL 237.5°, 90.2, 64.1 hsl(237.5,90.2%,64.1%)
HSV (or HSB) 237.5°, 67.1, 96.5
Web Safe 6666ff #6666ff
CIE-LAB 46.152, 45.986, -79.78
XYZ 23.514, 15.381, 88.913
xyY 0.184, 0.12, 15.381
CIE-LCH 46.152, 92.084, 299.96
CIE-LUV 46.152, -10.379, -121.567
Hunter-Lab 39.219, 38.389, -106.963
Binary 01010001, 01011000, 11110110

Color Schemes with #5158f6

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

Alternatives to #5158f6

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

Similar Colors

#5158f6 Preview

Text with hexadecimal color #5158f6

This text has a font color of #5158f6.

<span style="color:#5158f6;">Text here</span>
#5158f6 background color

This paragraph has a background color of #5158f6.

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

This element has a border color of #5158f6.

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

Shades and Tints of #5158f6

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, #01010d is the darkest color, while #f9f9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5158f6

A tone is produced by adding gray to any pure hue. In this case, #9e9fa9 is the less saturated color, while #4a52fd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158f6 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
  • #686868 Achromatopsia 0.005% of the population
  • #636584 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0071dd Protanopia 1% of men
  • #0077c1 Deuteranopia 1% of men
  • #008088 Tritanopia 0.001% of the population
Trichromacy
  • #1d68e6 Protanomaly 1% of men, 0.01% of women
  • #1d6cd4 Deuteranomaly 6% of men, 0.4% of women
  • #1d71b0 Tritanomaly 0.01% of the population