Color Hex Logo

#31227b Color Hex

#31227B
(49,34,123)
0 Favorites   0 Comments

Color spaces of #31227b

RGB 4934123
HSL0.690.570.31
HSV250°72°48°
CMYK 0.600.720.00   0.52
XYZ5.41383.227119.0764
Yxy3.22710.19530.1164
Hunter Lab17.964122.3568-50.3861
CIE-Lab20.931433.1922-48.2369

#31227b color RGB value is (49,34,123).

#31227b hex color red value is 49, green value is 34 and the blue value of its RGB is 123. Cylindrical-coordinate representations (also known as HSL) of color #31227b hue: 0.69 , saturation: 0.57 and the lightness value of 31227b is 0.31.

The process color (four color CMYK) of #31227b color hex is 0.60, 0.72, 0.00, 0.52. Web safe color of #31227b is #333366. Color #31227b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00110001 00100010 01111011
Octal 61 42 173
Decimal 49 34 123
Hex 31 22 7B

RGB Percentages of Color #31227b

%23.79
%16.50
%59.71

CMYK Percentages of Color #31227b

%60
%72
%0
%52

Triadic Colors of #31227b

#31227b #7b3122 #227b31

Analogous Colors of #31227b

#31227b #5e227b #22407b

Monochromatic Colors of #31227b

#31227b

Complementary Color

#31227b #6c7b22

#31227b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#31227b Color Preview on White Background

Lorem ipsum dolor sit amet.

#31227b Color CSS Codes

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

#31227b Text Font Color

<p style="color:#31227b">Text here</p>

This sample text font color is #31227b
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.


#31227b Background Color

<div style="background-color:#31227b">
Div content here</div>

This div background color is #31227b


#31227b Border Color

<div style="border:3px solid #31227b">
Div here</div>

This div border color is #31227b


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(49,34,123, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #31227b; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #31227b;
  -webkit-box-shadow: 1px 1px 3px 2px #31227b;
  box-shadow:         1px 1px 3px 2px #31227b; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #31227b


Comments

No comments written yet.

Please login to write comment.