#5158b4 Color Information

In a RGB color space, hex #5158b4 is composed of 31.8% red, 34.5% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 55% cyan, 51.1% magenta, 0% yellow and 29.4% black. It has a hue angle of 235.8 degrees, a saturation of 39.8% and a lightness of 51.2%. #5158b4 color hex could be obtained by blending #a2b0ff with #000069. Closest websafe color is: #6666cc.

    • R 32
    • G 35
    • B 71
    RGB color chart
    • C 55
    • M 51
    • Y 0
    • K 29
    CMYK color chart

#5158b4 color description : Moderate blue.

#5158b4 Color Conversion

The hexadecimal color #5158b4 has RGB values of R:81, G:88, B:180 and CMYK values of C:0.55, M:0.51, Y:0, K:0.29. Its decimal value is 5331124.

Hex triplet 5158b4 #5158b4
RGB Decimal 81, 88, 180 rgb(81,88,180)
RGB Percent 31.8, 34.5, 70.6 rgb(31.8%,34.5%,70.6%)
CMYK 55, 51, 0, 29
HSL 235.8°, 39.8, 51.2 hsl(235.8,39.8%,51.2%)
HSV (or HSB) 235.8°, 55, 70.6
Web Safe 6666cc #6666cc
CIE-LAB 41.253, 24.136, -49.932
XYZ 15.12, 12.023, 44.702
xyY 0.21, 0.167, 12.023
CIE-LCH 41.253, 55.46, 295.798
CIE-LUV 41.253, -7.688, -75.082
Hunter-Lab 34.675, 17.152, -52.162
Binary 01010001, 01011000, 10110100

Color Schemes with #5158b4

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

Alternatives to #5158b4

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

Similar Colors

#5158b4 Preview

Text with hexadecimal color #5158b4

This text has a font color of #5158b4.

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

This paragraph has a background color of #5158b4.

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

This element has a border color of #5158b4.

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

Shades and Tints of #5158b4

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

Shade Color Variation
Tint Color Variation

Tones of #5158b4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158b4 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
  • #606060 Achromatopsia 0.005% of the population
  • #5d5e71 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #3366bd Protanopia 1% of men
  • #006bb2 Deuteranopia 1% of men
  • #3c7079 Tritanopia 0.001% of the population
Trichromacy
  • #3d61b9 Protanomaly 1% of men, 0.01% of women
  • #1d64b3 Deuteranomaly 6% of men, 0.4% of women
  • #43678e Tritanomaly 0.01% of the population