#5157f1 Color Information

In a RGB color space, hex #5157f1 is composed of 31.8% red, 34.1% green and 94.5% blue. Whereas in a CMYK color space, it is composed of 66.4% cyan, 63.9% magenta, 0% yellow and 5.5% black. It has a hue angle of 237.8 degrees, a saturation of 85.1% and a lightness of 63.1%. #5157f1 color hex could be obtained by blending #a2aeff with #0000e3. Closest websafe color is: #6666ff.

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

#5157f1 color description : Soft blue.

#5157f1 Color Conversion

The hexadecimal color #5157f1 has RGB values of R:81, G:87, B:241 and CMYK values of C:0.66, M:0.64, Y:0, K:0.05. Its decimal value is 5330929.

Hex triplet 5157f1 #5157f1
RGB Decimal 81, 87, 241 rgb(81,87,241)
RGB Percent 31.8, 34.1, 94.5 rgb(31.8%,34.1%,94.5%)
CMYK 66, 64, 0, 5
HSL 237.8°, 85.1, 63.1 hsl(237.8,85.1%,63.1%)
HSV (or HSB) 237.8°, 66.4, 94.5
Web Safe 6666ff #6666ff
CIE-LAB 45.518, 44.942, -78.016
XYZ 22.676, 14.915, 84.898
xyY 0.185, 0.122, 14.915
CIE-LCH 45.518, 90.034, 299.944
CIE-LUV 45.518, -9.961, -118.613
Hunter-Lab 38.62, 37.218, -103.301
Binary 01010001, 01010111, 11110001

Color Schemes with #5157f1

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

Alternatives to #5157f1

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

Similar Colors

#5157f1 Preview

Text with hexadecimal color #5157f1

This text has a font color of #5157f1.

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

This paragraph has a background color of #5157f1.

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

This element has a border color of #5157f1.

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

Shades and Tints of #5157f1

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

Shade Color Variation
Tint Color Variation

Tones of #5157f1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157f1 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
  • #006fda Protanopia 1% of men
  • #0076be Deuteranopia 1% of men
  • #007e86 Tritanopia 0.001% of the population
Trichromacy
  • #1d66e2 Protanomaly 1% of men, 0.01% of women
  • #1d6ad1 Deuteranomaly 6% of men, 0.4% of women
  • #1d70ad Tritanomaly 0.01% of the population