#5158b1 Color Information

In a RGB color space, hex #5158b1 is composed of 31.8% red, 34.5% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 54.2% cyan, 50.3% magenta, 0% yellow and 30.6% black. It has a hue angle of 235.6 degrees, a saturation of 38.1% and a lightness of 50.6%. #5158b1 color hex could be obtained by blending #a2b0ff with #000063. Closest websafe color is: #666699.

    • R 32
    • G 35
    • B 69
    RGB color chart
    • C 54
    • M 50
    • Y 0
    • K 31
    CMYK color chart

#5158b1 color description : Dark moderate blue.

#5158b1 Color Conversion

The hexadecimal color #5158b1 has RGB values of R:81, G:88, B:177 and CMYK values of C:0.54, M:0.5, Y:0, K:0.31. Its decimal value is 5331121.

Hex triplet 5158b1 #5158b1
RGB Decimal 81, 88, 177 rgb(81,88,177)
RGB Percent 31.8, 34.5, 69.4 rgb(31.8%,34.5%,69.4%)
CMYK 54, 50, 0, 31
HSL 235.6°, 38.1, 50.6 hsl(235.6,38.1%,50.6%)
HSV (or HSB) 235.6°, 54.2, 69.4
Web Safe 666699 #666699
CIE-LAB 41.061, 23.148, -48.478
XYZ 14.817, 11.903, 43.109
xyY 0.212, 0.17, 11.903
CIE-LCH 41.061, 53.721, 295.524
CIE-LUV 41.061, -7.56, -72.788
Hunter-Lab 34.5, 16.288, -49.935
Binary 01010001, 01011000, 10110001

Color Schemes with #5158b1

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

Alternatives to #5158b1

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

Similar Colors

#5158b1 Preview

Text with hexadecimal color #5158b1

This text has a font color of #5158b1.

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

This paragraph has a background color of #5158b1.

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

This element has a border color of #5158b1.

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

Shades and Tints of #5158b1

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

Shade Color Variation
Tint Color Variation

Tones of #5158b1

A tone is produced by adding gray to any pure hue. In this case, #78798a is the less saturated color, while #0316ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158b1 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.

  • #606060 Achromatopsia 0.005% of the population
  • #5d5e70 Atypical Achromatopsia 0.001% of the population
  • #3666b9 Protanopia 1% of men
  • #186ab0 Deuteranopia 1% of men
  • #3e7078 Tritanopia 0.001% of the population
  • #4061b6 Protanomaly 1% of men, 0.01% of women
  • #2d63b0 Deuteranomaly 6% of men, 0.4% of women
  • #45678d Tritanomaly 0.01% of the population