#5158d1 Color Information

In a RGB color space, hex #5158d1 is composed of 31.8% red, 34.5% green and 82% blue. Whereas in a CMYK color space, it is composed of 61.2% cyan, 57.9% magenta, 0% yellow and 18% black. It has a hue angle of 236.7 degrees, a saturation of 58.2% and a lightness of 56.9%. #5158d1 color hex could be obtained by blending #a2b0ff with #0000a3. Closest websafe color is: #6666cc.

    • R 32
    • G 35
    • B 82
    RGB color chart
    • C 61
    • M 58
    • Y 0
    • K 18
    CMYK color chart

#5158d1 color description : Moderate blue.

#5158d1 Color Conversion

The hexadecimal color #5158d1 has RGB values of R:81, G:88, B:209 and CMYK values of C:0.61, M:0.58, Y:0, K:0.18. Its decimal value is 5331153.

Hex triplet 5158d1 #5158d1
RGB Decimal 81, 88, 209 rgb(81,88,209)
RGB Percent 31.8, 34.5, 82 rgb(31.8%,34.5%,82%)
CMYK 61, 58, 0, 18
HSL 236.7°, 58.2, 56.9 hsl(236.7,58.2%,56.9%)
HSV (or HSB) 236.7°, 61.2, 82
Web Safe 6666cc #6666cc
CIE-LAB 43.258, 33.764, -63.532
XYZ 18.389, 13.331, 61.922
xyY 0.196, 0.142, 13.331
CIE-LCH 43.258, 71.946, 297.988
CIE-LUV 43.258, -8.899, -96.413
Hunter-Lab 36.512, 26.006, -74.994
Binary 01010001, 01011000, 11010001

Color Schemes with #5158d1

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

Alternatives to #5158d1

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

Similar Colors

#5158d1 Preview

Text with hexadecimal color #5158d1

This text has a font color of #5158d1.

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

This paragraph has a background color of #5158d1.

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

This element has a border color of #5158d1.

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

Shades and Tints of #5158d1

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, #03040c is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5158d1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5158d1 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
  • #646464 Achromatopsia 0.005% of the population
  • #60627a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006ad1 Protanopia 1% of men
  • #0070b7 Deuteranopia 1% of men
  • #1b7881 Tritanopia 0.001% of the population
Trichromacy
  • #1d63d1 Protanomaly 1% of men, 0.01% of women
  • #1d67c0 Deuteranomaly 6% of men, 0.4% of women
  • #2e6c9e Tritanomaly 0.01% of the population