#5158b9 Color Information

In a RGB color space, hex #5158b9 is composed of 31.8% red, 34.5% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 56.2% cyan, 52.4% magenta, 0% yellow and 27.5% black. It has a hue angle of 236 degrees, a saturation of 42.6% and a lightness of 52.2%. #5158b9 color hex could be obtained by blending #a2b0ff with #000073. Closest websafe color is: #6666cc.

    • R 32
    • G 35
    • B 73
    RGB color chart
    • C 56
    • M 52
    • Y 0
    • K 27
    CMYK color chart

#5158b9 color description : Moderate blue.

#5158b9 Color Conversion

The hexadecimal color #5158b9 has RGB values of R:81, G:88, B:185 and CMYK values of C:0.56, M:0.52, Y:0, K:0.27. Its decimal value is 5331129.

Hex triplet 5158b9 #5158b9
RGB Decimal 81, 88, 185 rgb(81,88,185)
RGB Percent 31.8, 34.5, 72.5 rgb(31.8%,34.5%,72.5%)
CMYK 56, 52, 0, 27
HSL 236°, 42.6, 52.2 hsl(236,42.6%,52.2%)
HSV (or HSB) 236°, 56.2, 72.5
Web Safe 6666cc #6666cc
CIE-LAB 41.581, 25.788, -52.336
XYZ 15.638, 12.231, 47.433
xyY 0.208, 0.162, 12.231
CIE-LCH 41.581, 58.344, 296.231
CIE-LUV 41.581, -7.9, -78.869
Hunter-Lab 34.973, 18.615, -55.933
Binary 01010001, 01011000, 10111001

Color Schemes with #5158b9

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

Alternatives to #5158b9

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

Similar Colors

#5158b9 Preview

Text with hexadecimal color #5158b9

This text has a font color of #5158b9.

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

This paragraph has a background color of #5158b9.

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

This element has a border color of #5158b9.

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

Shades and Tints of #5158b9

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

Shade Color Variation
Tint Color Variation

Tones of #5158b9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158b9 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
  • #616161 Achromatopsia 0.005% of the population
  • #5e5f73 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2b67c2 Protanopia 1% of men
  • #006cb3 Deuteranopia 1% of men
  • #38727a Tritanopia 0.001% of the population
Trichromacy
  • #3961bf Protanomaly 1% of men, 0.01% of women
  • #1d64b5 Deuteranomaly 6% of men, 0.4% of women
  • #416891 Tritanomaly 0.01% of the population