#31315E Hex color

#31315E

The hexadecimal color code #31315E corresponds to the code RGB( 49, 49, 94 ). It's a shade of Blue. This color is a combination of red (at 0,19 level), green (at 0,19 level) and blue (at 0,37 level). Its brightness is 28% and its saturation is 31%. It is composed of red at 25%, green at 25% and blue at 48%.


Features

Hue

Saturation

Brightness

240
31
28
Shade of Blue
Hex Code #31315E
RGB Code rgb( 49 , 49 , 94)
RGB Code Percentagergb( 19.2% , 19.2% , 36.9% )
HSLhsl( 240 , 31% , 28% )
Complementary
Color
#CECEA1


Variations of #31315E

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #31315E is the color #EAEAEE

#31315e

Darker Shades

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

#31315e

Other Shades of Blue

Examples of other colors within the Blue spectrum .

See more



Color Palettes

The complementary color #CECEA1 is the color exactly opposite to #31315E on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#31315E

Triadic palette



Uses of #31315E in CSS

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

#31315E as background color

Black text
White text
div{ background: #31315E;  }

Colored text

With a white background or
with a dark background
div{ color: #31315E;  }

Border

#31315E colored border with a width of 3px
div{ border: 3px solid #31315E;  }

Shadow

#31315E shadow colored
div{ box-shadow: 3px 3px 7px #31315E; }

Similar Colors

Other color codes similar or equivalent to the specified color code #31315E.

Choose another color

Select another color on color wheel.

Selected color: