#5157d2 Color Information

In a RGB color space, hex #5157d2 is composed of 31.8% red, 34.1% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 61.4% cyan, 58.6% magenta, 0% yellow and 17.6% black. It has a hue angle of 237.2 degrees, a saturation of 58.9% and a lightness of 57.1%. #5157d2 color hex could be obtained by blending #a2aeff with #0000a5. Closest websafe color is: #6666cc.

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

#5157d2 color description : Moderate blue.

#5157d2 Color Conversion

The hexadecimal color #5157d2 has RGB values of R:81, G:87, B:210 and CMYK values of C:0.61, M:0.59, Y:0, K:0.18. Its decimal value is 5330898.

Hex triplet 5157d2 #5157d2
RGB Decimal 81, 87, 210 rgb(81,87,210)
RGB Percent 31.8, 34.1, 82.4 rgb(31.8%,34.1%,82.4%)
CMYK 61, 59, 0, 18
HSL 237.2°, 58.9, 57.1 hsl(237.2,58.9%,57.1%)
HSV (or HSB) 237.2°, 61.4, 82.4
Web Safe 6666cc #6666cc
CIE-LAB 43.09, 34.713, -64.379
XYZ 18.432, 13.218, 62.549
xyY 0.196, 0.14, 13.218
CIE-LCH 43.09, 73.142, 298.333
CIE-LUV 43.09, -8.684, -97.543
Hunter-Lab 36.357, 26.872, -76.555
Binary 01010001, 01010111, 11010010

Color Schemes with #5157d2

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

Alternatives to #5157d2

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

Similar Colors

#5157d2 Preview

Text with hexadecimal color #5157d2

This text has a font color of #5157d2.

<span style="color:#5157d2;">Text here</span>
#5157d2 background color

This paragraph has a background color of #5157d2.

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

This element has a border color of #5157d2.

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

Shades and Tints of #5157d2

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

Shade Color Variation
Tint Color Variation

Tones of #5157d2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157d2 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
  • #5f6179 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006ad0 Protanopia 1% of men
  • #0070b6 Deuteranopia 1% of men
  • #177880 Tritanopia 0.001% of the population
Trichromacy
  • #1d63d0 Protanomaly 1% of men, 0.01% of women
  • #1d67c0 Deuteranomaly 6% of men, 0.4% of women
  • #2c6c9e Tritanomaly 0.01% of the population