COLOR #31506A

HEX: #31506A RGB: (49,80,106)

Color info

#31506A contains red, green and blue colors in about the same proportion. Web safe color of #31506A is #336666 (or #366).

RGB color model

#31506A color RGB value is (49,80,106).

RGB: (49,80,106) (19%, 31%, 42%)

RGB channels and saturation

R 49 of 255 = 19%
G 80 of 255 = 31%
B 106 of 255 = 42%

49
80
106

R + G + B ~ 31%. #31506A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 80 + 106 = 235 (100%)
R 49 of 235 ~ 20.85%
G 80 of 235 ~ 34.04%
B 106 of 235 ~ 45.11'%

%20.85
%34.04
%45.11

CMYK color model

#31506A color CMYK value is (54,25,0,58).

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

CMYK: (54,25,0,58)
C54M25Y0K58 (54%, 25%, 0%, 58%)
(0.54 / 0.25 / 0.00 / 0.58)

CMYK percentages

%53.77
%24.53
%0
%58.43

Codes

Color #31506A in popluar color models

31 50 6A
RGB 49 80 106
HSL 207° 36.77% 30.39%
HSB/HSV 207° 53.77% 41.57%
CMYK 53.77% 24.53% 0.00%
58.43%

Color #31506A in popluar number systems.

HEX 31 50 6A
Decimal 49 80 106
Binary 110001 1010000 1101010
Octal 61 120 152

Shades and tints

Shades of #31506A

#31506A
(49,80,106)
#2D4961
(45,73,97)
#294258
(41,66,88)
#253B4F
(37,59,79)
#213446
(33,52,70)
#1D2D3D
(29,45,61)
#192634
(25,38,52)
#151F2B
(21,31,43)
#111822
(17,24,34)
#0D1119
(13,17,25)
#090A10
(9,10,16)
#000000
(0,0,0)

Tints of #31506A

#31506A
(49,80,106)
#435F77
(67,95,119)
#556E84
(85,110,132)
#677D91
(103,125,145)
#798C9E
(121,140,158)
#8B9BAB
(139,155,171)
#9DAAB8
(157,170,184)
#AFB9C5
(175,185,197)
#C1C8D2
(193,200,210)
#D3D7DF
(211,215,223)
#E5E6EC
(229,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #31506A; }

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

This text font color is #31506A.

Background Color

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

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

This div background color is #31506A.

Border color

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

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

This div border color is #31506A.

Opacity

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

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

Text with #31506A 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 #31506A;}

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

This text has shadow with #31506A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #31506A.

Preview

Color preview on black background

This text has color #31506A on black background.


Color preview on white background

This text has color #31506A on white background.


Black color preview on #31506A background

This text has black color on #31506A background.


White color preview on #31506A background

This text has white color on #31506A background.


Related colors

Complementary color

Complementary color for #hex is #CEAF95.


I love getcolorcode.com

Triadic colors

1 #6A3150 and #506A31 with #31506A are triadic colors.

2 #6A5031 and #50316A with #31506A are triadic colors.