COLOR #311C7A

HEX: #311C7A RGB: (49,28,122)

Color info

#311C7A contains mainly blue color. Web safe color of #311C7A is #333366 (or #336).

RGB color model

#311C7A color RGB value is (49,28,122).

RGB: (49,28,122) (19%, 11%, 48%)

RGB channels and saturation

R 49 of 255 = 19%
G 28 of 255 = 11%
B 122 of 255 = 48%

49
28
122

R + G + B ~ 26%. #311C7A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 28 + 122 = 199 (100%)
R 49 of 199 ~ 24.62%
G 28 of 199 ~ 14.07%
B 122 of 199 ~ 61.31'%

%24.62
%14.07
%61.31

CMYK color model

#311C7A color CMYK value is (60,77,0,52).

  • cyan value is 59.84%
  • magenta value is 77.05%
  • yellow value is 0.00%
  • key color value is 52.16%

CMYK: (60,77,0,52)
C60M77Y0K52 (60%, 77%, 0%, 52%)
(0.60 / 0.77 / 0.00 / 0.52)

CMYK percentages

%59.84
%77.05
%0
%52.16

Codes

Color #311C7A in popluar color models

31 1C 7A
RGB 49 28 122
HSL 253° 62.67% 29.41%
HSB/HSV 253° 77.05% 47.84%
CMYK 59.84% 77.05% 0.00%
52.16%

Color #311C7A in popluar number systems.

HEX 31 1C 7A
Decimal 49 28 122
Binary 110001 11100 1111010
Octal 61 34 172

Shades and tints

Shades of #311C7A

#311C7A
(49,28,122)
#2D1A6F
(45,26,111)
#291864
(41,24,100)
#251659
(37,22,89)
#21144E
(33,20,78)
#1D1243
(29,18,67)
#191038
(25,16,56)
#150E2D
(21,14,45)
#110C22
(17,12,34)
#0D0A17
(13,10,23)
#09080C
(9,8,12)
#000000
(0,0,0)

Tints of #311C7A

#311C7A
(49,28,122)
#433086
(67,48,134)
#554492
(85,68,146)
#67589E
(103,88,158)
#796CAA
(121,108,170)
#8B80B6
(139,128,182)
#9D94C2
(157,148,194)
#AFA8CE
(175,168,206)
#C1BCDA
(193,188,218)
#D3D0E6
(211,208,230)
#E5E4F2
(229,228,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311C7A color. Also use rgb(49,28,122) instead hex code.

Text Font Color

.myTextColor { color: #311C7A; }

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

This text font color is #311C7A.

Background Color

.myBgColor { background-color: #311C7A; }

<div style="background-color:#311C7A">Inner text</div>

This div background color is #311C7A.

Border color

.myBorderColor { border: 1px solid #311C7A; }

<div style="border:3px solid #311C7A">Div</div>

This div border color is #311C7A.

Opacity

.myOpacity80 { color: #311C7A; opacity: 0.8; }

<p style="color:#311C7A;opacity:0.8;">80%</p>

Text with #311C7A 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 #311C7A;}

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

This text has shadow with #311C7A color.


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

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

This text has shadow with #311C7A primary color and red secondary color.


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

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

This text has shadow with #311C7A and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #311C7A.

Preview

Color preview on black background

This text has color #311C7A on black background.


Color preview on white background

This text has color #311C7A on white background.


Black color preview on #311C7A background

This text has black color on #311C7A background.


White color preview on #311C7A background

This text has white color on #311C7A background.


Related colors

Complementary color

Complementary color for #hex is #CEE385.


I love getcolorcode.com

Triadic colors

1 #7A311C and #1C7A31 with #311C7A are triadic colors.

2 #7A1C31 and #1C317A with #311C7A are triadic colors.