#5158cb Color Information

In a RGB color space, hex #5158cb is composed of 31.8% red, 34.5% green and 79.6% blue. Whereas in a CMYK color space, it is composed of 60.1% cyan, 56.7% magenta, 0% yellow and 20.4% black. It has a hue angle of 236.6 degrees, a saturation of 54% and a lightness of 55.7%. #5158cb color hex could be obtained by blending #a2b0ff with #000097. Closest websafe color is: #6666cc.

    • R 32
    • G 35
    • B 80
    RGB color chart
    • C 60
    • M 57
    • Y 0
    • K 20
    CMYK color chart

#5158cb color description : Moderate blue.

#5158cb Color Conversion

The hexadecimal color #5158cb has RGB values of R:81, G:88, B:203 and CMYK values of C:0.6, M:0.57, Y:0, K:0.2. Its decimal value is 5331147.

Hex triplet 5158cb #5158cb
RGB Decimal 81, 88, 203 rgb(81,88,203)
RGB Percent 31.8, 34.5, 79.6 rgb(31.8%,34.5%,79.6%)
CMYK 60, 57, 0, 20
HSL 236.6°, 54, 55.7 hsl(236.6,54%,55.7%)
HSV (or HSB) 236.6°, 60.1, 79.6
Web Safe 6666cc #6666cc
CIE-LAB 42.823, 31.767, -60.784
XYZ 17.66, 13.04, 58.083
xyY 0.199, 0.147, 13.04
CIE-LCH 42.823, 68.584, 297.592
CIE-LUV 42.823, -8.652, -92.124
Hunter-Lab 36.111, 24.104, -70.089
Binary 01010001, 01011000, 11001011

Color Schemes with #5158cb

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

Alternatives to #5158cb

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

Similar Colors

#5158cb Preview

Text with hexadecimal color #5158cb

This text has a font color of #5158cb.

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

This paragraph has a background color of #5158cb.

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

This element has a border color of #5158cb.

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

Shades and Tints of #5158cb

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

Shade Color Variation
Tint Color Variation

Tones of #5158cb

A tone is produced by adding gray to any pure hue. In this case, #8e8e8e is the less saturated color, while #2632f6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158cb 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
  • #636363 Achromatopsia 0.005% of the population
  • #5f6178 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0069cf Protanopia 1% of men
  • #006fb6 Deuteranopia 1% of men
  • #26767f Tritanopia 0.001% of the population
Trichromacy
  • #1d63cd Protanomaly 1% of men, 0.01% of women
  • #1d66bd Deuteranomaly 6% of men, 0.4% of women
  • #356b9a Tritanomaly 0.01% of the population