#5158f1 Color Information

In a RGB color space, hex #5158f1 is composed of 31.8% red, 34.5% green and 94.5% blue. Whereas in a CMYK color space, it is composed of 66.4% cyan, 63.5% magenta, 0% yellow and 5.5% black. It has a hue angle of 237.4 degrees, a saturation of 85.1% and a lightness of 63.1%. #5158f1 color hex could be obtained by blending #a2b0ff with #0000e3. Closest websafe color is: #6666ff.

    • R 32
    • G 35
    • B 95
    RGB color chart
    • C 66
    • M 63
    • Y 0
    • K 5
    CMYK color chart

#5158f1 color description : Soft blue.

#5158f1 Color Conversion

The hexadecimal color #5158f1 has RGB values of R:81, G:88, B:241 and CMYK values of C:0.66, M:0.63, Y:0, K:0.05. Its decimal value is 5331185.

Hex triplet 5158f1 #5158f1
RGB Decimal 81, 88, 241 rgb(81,88,241)
RGB Percent 31.8, 34.5, 94.5 rgb(31.8%,34.5%,94.5%)
CMYK 66, 63, 0, 5
HSL 237.4°, 85.1, 63.1 hsl(237.4,85.1%,63.1%)
HSV (or HSB) 237.4°, 66.4, 94.5
Web Safe 6666ff #6666ff
CIE-LAB 45.741, 44.35, -77.65
XYZ 22.757, 15.078, 84.925
xyY 0.185, 0.123, 15.078
CIE-LCH 45.741, 89.423, 299.733
CIE-LUV 45.741, -10.183, -118.288
Hunter-Lab 38.831, 36.657, -102.489
Binary 01010001, 01011000, 11110001

Color Schemes with #5158f1

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

Alternatives to #5158f1

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

Similar Colors

#5158f1 Preview

Text with hexadecimal color #5158f1

This text has a font color of #5158f1.

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

This paragraph has a background color of #5158f1.

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

This element has a border color of #5158f1.

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

Shades and Tints of #5158f1

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

Shade Color Variation
Tint Color Variation

Tones of #5158f1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158f1 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
  • #676767 Achromatopsia 0.005% of the population
  • #636483 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0070db Protanopia 1% of men
  • #0076bf Deuteranopia 1% of men
  • #007f87 Tritanopia 0.001% of the population
Trichromacy
  • #1d67e3 Protanomaly 1% of men, 0.01% of women
  • #1d6bd1 Deuteranomaly 6% of men, 0.4% of women
  • #1d71ad Tritanomaly 0.01% of the population