#5157f2 Color Information

In a RGB color space, hex #5157f2 is composed of 31.8% red, 34.1% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 66.5% cyan, 64% magenta, 0% yellow and 5.1% black. It has a hue angle of 237.8 degrees, a saturation of 86.1% and a lightness of 63.3%. #5157f2 color hex could be obtained by blending #a2aeff with #0000e5. Closest websafe color is: #6666ff.

    • R 32
    • G 34
    • B 95
    RGB color chart
    • C 67
    • M 64
    • Y 0
    • K 5
    CMYK color chart

#5157f2 color description : Soft blue.

#5157f2 Color Conversion

The hexadecimal color #5157f2 has RGB values of R:81, G:87, B:242 and CMYK values of C:0.67, M:0.64, Y:0, K:0.05. Its decimal value is 5330930.

Hex triplet 5157f2 #5157f2
RGB Decimal 81, 87, 242 rgb(81,87,242)
RGB Percent 31.8, 34.1, 94.9 rgb(31.8%,34.1%,94.9%)
CMYK 67, 64, 0, 5
HSL 237.8°, 86.1, 63.3 hsl(237.8,86.1%,63.3%)
HSV (or HSB) 237.8°, 66.5, 94.9
Web Safe 6666ff #6666ff
CIE-LAB 45.6, 45.268, -78.442
XYZ 22.825, 14.975, 85.687
xyY 0.185, 0.121, 14.975
CIE-LCH 45.6, 90.567, 299.989
CIE-LUV 45.6, -10.002, -119.269
Hunter-Lab 38.698, 37.564, -104.195
Binary 01010001, 01010111, 11110010

Color Schemes with #5157f2

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

Alternatives to #5157f2

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

Similar Colors

#5157f2 Preview

Text with hexadecimal color #5157f2

This text has a font color of #5157f2.

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

This paragraph has a background color of #5157f2.

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

This element has a border color of #5157f2.

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

Shades and Tints of #5157f2

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

Shade Color Variation
Tint Color Variation

Tones of #5157f2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157f2 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
  • #676767 Achromatopsia 0.005% of the population
  • #636483 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0070da Protanopia 1% of men
  • #0076bf Deuteranopia 1% of men
  • #007e87 Tritanopia 0.001% of the population
Trichromacy
  • #1d67e3 Protanomaly 1% of men, 0.01% of women
  • #1d6bd1 Deuteranomaly 6% of men, 0.4% of women
  • #1d70ad Tritanomaly 0.01% of the population