#5158c1 Color Information

In a RGB color space, hex #5158c1 is composed of 31.8% red, 34.5% green and 75.7% blue. Whereas in a CMYK color space, it is composed of 58% cyan, 54.4% magenta, 0% yellow and 24.3% black. It has a hue angle of 236.3 degrees, a saturation of 47.5% and a lightness of 53.7%. #5158c1 color hex could be obtained by blending #a2b0ff with #000083. Closest websafe color is: #6666cc.

    • R 32
    • G 35
    • B 76
    RGB color chart
    • C 58
    • M 54
    • Y 0
    • K 24
    CMYK color chart

#5158c1 color description : Moderate blue.

#5158c1 Color Conversion

The hexadecimal color #5158c1 has RGB values of R:81, G:88, B:193 and CMYK values of C:0.58, M:0.54, Y:0, K:0.24. Its decimal value is 5331137.

Hex triplet 5158c1 #5158c1
RGB Decimal 81, 88, 193 rgb(81,88,193)
RGB Percent 31.8, 34.5, 75.7 rgb(31.8%,34.5%,75.7%)
CMYK 58, 54, 0, 24
HSL 236.3°, 47.5, 53.7 hsl(236.3,47.5%,53.7%)
HSV (or HSB) 236.3°, 58, 75.7
Web Safe 6666cc #6666cc
CIE-LAB 42.121, 28.441, -56.13
XYZ 16.507, 12.578, 52.007
xyY 0.204, 0.155, 12.578
CIE-LCH 42.121, 62.924, 296.871
CIE-LUV 42.121, -8.237, -84.833
Hunter-Lab 35.466, 21.013, -62.117
Binary 01010001, 01011000, 11000001

Color Schemes with #5158c1

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

Alternatives to #5158c1

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

Similar Colors

#5158c1 Preview

Text with hexadecimal color #5158c1

This text has a font color of #5158c1.

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

This paragraph has a background color of #5158c1.

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

This element has a border color of #5158c1.

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

Shades and Tints of #5158c1

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

Shade Color Variation
Tint Color Variation

Tones of #5158c1

A tone is produced by adding gray to any pure hue. In this case, #87888b is the less saturated color, while #1b28f7 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158c1 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
  • #626262 Achromatopsia 0.005% of the population
  • #5f6075 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1568cb Protanopia 1% of men
  • #006db4 Deuteranopia 1% of men
  • #32747c Tritanopia 0.001% of the population
Trichromacy
  • #2b62c7 Protanomaly 1% of men, 0.01% of women
  • #1d65b9 Deuteranomaly 6% of men, 0.4% of women
  • #3d6995 Tritanomaly 0.01% of the population