Color Hex Logo

#31396c Color Hex

#31396C
(49,57,108)
0 Favorites   0 Comments

Color spaces of #31396c

RGB 4957108
HSL0.640.380.31
HSV232°55°42°
CMYK 0.550.470.00   0.58
XYZ5.43654.661914.8007
Yxy4.66190.21830.1872
Hunter Lab21.59147.1594-25.5287
CIE-Lab25.749012.6952-30.8532

#31396c color RGB value is (49,57,108).

#31396c hex color red value is 49, green value is 57 and the blue value of its RGB is 108. Cylindrical-coordinate representations (also known as HSL) of color #31396c hue: 0.64 , saturation: 0.38 and the lightness value of 31396c is 0.31.

The process color (four color CMYK) of #31396c color hex is 0.55, 0.47, 0.00, 0.58. Web safe color of #31396c is #333366. Color #31396c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00110001 00111001 01101100
Octal 61 71 154
Decimal 49 57 108
Hex 31 39 6C

RGB Percentages of Color #31396c

%22.90
%26.64
%50.47

CMYK Percentages of Color #31396c

%55
%47
%0
%58

Triadic Colors of #31396c

#31396c #6c3139 #396c31

Analogous Colors of #31396c

#31396c #47316c #31576c

Monochromatic Colors of #31396c

#31396c

Complementary Color

#31396c #6c6431

#31396c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#31396c Color Preview on White Background

Lorem ipsum dolor sit amet.

#31396c Color CSS Codes

.mybgcolor {background-color:#31396c; } 
.myforecolor {color:#31396c; }
.mybordercolor {border:3px solid #31396c; }

#31396c Text Font Color

<p style="color:#31396c">Text here</p>

This sample text font color is #31396c
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#31396c Background Color

<div style="background-color:#31396c">
Div content here</div>

This div background color is #31396c


#31396c Border Color

<div style="border:3px solid #31396c">
Div here</div>

This div border color is #31396c


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(49,57,108, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #31396c; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #31396c;
  -webkit-box-shadow: 1px 1px 3px 2px #31396c;
  box-shadow:         1px 1px 3px 2px #31396c; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(49,57,108, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #31396c">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #31396c;
  -webkit-box-shadow: 1px 1px 3px 2px #31396c;
  box-shadow:         1px 1px 3px 2px #31396c;">
Div content here</div>

This div box has shadow with color #31396c


Comments

No comments written yet.

Please login to write comment.