COLOR #31356A

HEX: #31356A RGB: (49,53,106)

Color info

#31356A contains red, green and blue colors in about the same proportion. Web safe color of #31356A is #333366 (or #336).

RGB color model

#31356A color RGB value is (49,53,106).

RGB: (49,53,106) (19%, 21%, 42%)

RGB channels and saturation

R 49 of 255 = 19%
G 53 of 255 = 21%
B 106 of 255 = 42%

49
53
106

R + G + B ~ 27%. #31356A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 53 + 106 = 208 (100%)
R 49 of 208 ~ 23.56%
G 53 of 208 ~ 25.48%
B 106 of 208 ~ 50.96'%

%23.56
%25.48
%50.96

CMYK color model

#31356A color CMYK value is (54,50,0,58).

  • cyan value is 53.77%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 58.43%

CMYK: (54,50,0,58)
C54M50Y0K58 (54%, 50%, 0%, 58%)
(0.54 / 0.50 / 0.00 / 0.58)

CMYK percentages

%53.77
%50
%0
%58.43

Codes

Color #31356A in popluar color models

31 35 6A
RGB 49 53 106
HSL 236° 36.77% 30.39%
HSB/HSV 236° 53.77% 41.57%
CMYK 53.77% 50.00% 0.00%
58.43%

Color #31356A in popluar number systems.

HEX 31 35 6A
Decimal 49 53 106
Binary 110001 110101 1101010
Octal 61 65 152

Shades and tints

Shades of #31356A

#31356A
(49,53,106)
#2D3161
(45,49,97)
#292D58
(41,45,88)
#25294F
(37,41,79)
#212546
(33,37,70)
#1D213D
(29,33,61)
#191D34
(25,29,52)
#15192B
(21,25,43)
#111522
(17,21,34)
#0D1119
(13,17,25)
#090D10
(9,13,16)
#000000
(0,0,0)

Tints of #31356A

#31356A
(49,53,106)
#434777
(67,71,119)
#555984
(85,89,132)
#676B91
(103,107,145)
#797D9E
(121,125,158)
#8B8FAB
(139,143,171)
#9DA1B8
(157,161,184)
#AFB3C5
(175,179,197)
#C1C5D2
(193,197,210)
#D3D7DF
(211,215,223)
#E5E9EC
(229,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31356A color. Also use rgb(49,53,106) instead hex code.

Text Font Color

.myTextColor { color: #31356A; }

<p style="color:#31356A">This sample text font color is #31356A.</p>

This text font color is #31356A.

Background Color

.myBgColor { background-color: #31356A; }

<div style="background-color:#31356A">Inner text</div>

This div background color is #31356A.

Border color

.myBorderColor { border: 1px solid #31356A; }

<div style="border:3px solid #31356A">Div</div>

This div border color is #31356A.

Opacity

.myOpacity80 { color: #31356A; opacity: 0.8; }

<p style="color:#31356A;opacity:0.8;">80%</p>

Text with #31356A color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #31356A;}

<p style="text-shadow: 3px 3px 1px #31356A">Text here.</p>

This text has shadow with #31356A color.


.textShadow {text-shadow: 3px 3px 1px #31356A', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #31356A, 5px 5px 20px red">Text here.</p>

This text has shadow with #31356A primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#31356A, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#31356A, Direction=45, Strength=4)">Text</p>

This text has shadow with #31356A and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #31356A;
-webkit-box-shadow: 1px 1px 3px 2px #31356A;
box-shadow: 1px 1px 3px 2px #31356A;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #31356A; -webkit-box-shadow: 1px 1px 3px 2px #31356A; box-shadow:1px 1px 3px 2px #31356A;">
Div content here
</div>

This div box has shadow with color #31356A.

Preview

Color preview on black background

This text has color #31356A on black background.


Color preview on white background

This text has color #31356A on white background.


Black color preview on #31356A background

This text has black color on #31356A background.


White color preview on #31356A background

This text has white color on #31356A background.


Related colors

Complementary color

Complementary color for #hex is #CECA95.


I love getcolorcode.com

Triadic colors

1 #6A3135 and #356A31 with #31356A are triadic colors.

2 #6A3531 and #35316A with #31356A are triadic colors.