#5158E4 Hex color

#5158E4

The hexadecimal color code #5158E4 corresponds to the code RGB( 81, 88, 228 ). It's a shade of Blue. This color is a combination of red (at 0,32 level), green (at 0,35 level) and blue (at 0,89 level). Its brightness is 60% and its saturation is 73%. It is composed of red at 20%, green at 22% and blue at 57%.


Features

Hue

Saturation

Brightness

237
73
60
Shade of Blue
Hex Code #5158E4
RGB Code rgb( 81 , 88 , 228)
RGB Code Percentagergb( 31.8% , 34.5% , 89.4% )
HSLhsl( 237 , 73% , 60% )
Complementary
Color
#AEA71B


Variations of #5158E4

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #5158E4 is the color #EDEEFC

#5158e4

Darker Shades

Palette of progressively darker shades. The darkest shade is #080816.

#5158e4

Other Shades of Blue

Examples of other colors within the Blue spectrum .

See more



Color Palettes

The complementary color #AEA71B is the color exactly opposite to #5158E4 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#5158E4

Triadic palette



Uses of #5158E4 in CSS

When using #5158E4 as the background color, consider selecting a lighter text color for improved readability. If you want to use #5158E4 as the text color, prefer a light background, such as Blanc.

#5158E4 as background color

Black text
White text
div{ background: #5158E4;  }

Colored text

With a white background or
with a dark background
div{ color: #5158E4;  }

Border

#5158E4 colored border with a width of 3px
div{ border: 3px solid #5158E4;  }

Shadow

#5158E4 shadow colored
div{ box-shadow: 3px 3px 7px #5158E4; }

Similar Colors

Other color codes similar or equivalent to the specified color code #5158E4.

Choose another color

Select another color on color wheel.

Selected color: