COLOR #311E7A

HEX: #311E7A RGB: (49,30,122)

Color info

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

RGB color model

#311E7A color RGB value is (49,30,122).

RGB: (49,30,122) (19%, 12%, 48%)

RGB channels and saturation

R 49 of 255 = 19%
G 30 of 255 = 12%
B 122 of 255 = 48%

49
30
122

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

Portions of RGB colors in percentages

R + G + B = 49 + 30 + 122 = 201 (100%)
R 49 of 201 ~ 24.38%
G 30 of 201 ~ 14.93%
B 122 of 201 ~ 60.7'%

%24.38
%14.93
%60.7

CMYK color model

#311E7A color CMYK value is (60,75,0,52).

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

CMYK: (60,75,0,52)
C60M75Y0K52 (60%, 75%, 0%, 52%)
(0.60 / 0.75 / 0.00 / 0.52)

CMYK percentages

%59.84
%75.41
%0
%52.16

Codes

Color #311E7A in popluar color models

31 1E 7A
RGB 49 30 122
HSL 252° 60.53% 29.80%
HSB/HSV 252° 75.41% 47.84%
CMYK 59.84% 75.41% 0.00%
52.16%

Color #311E7A in popluar number systems.

HEX 31 1E 7A
Decimal 49 30 122
Binary 110001 11110 1111010
Octal 61 36 172

Shades and tints

Shades of #311E7A

#311E7A
(49,30,122)
#2D1C6F
(45,28,111)
#291A64
(41,26,100)
#251859
(37,24,89)
#21164E
(33,22,78)
#1D1443
(29,20,67)
#191238
(25,18,56)
#15102D
(21,16,45)
#110E22
(17,14,34)
#0D0C17
(13,12,23)
#090A0C
(9,10,12)
#000000
(0,0,0)

Tints of #311E7A

#311E7A
(49,30,122)
#433286
(67,50,134)
#554692
(85,70,146)
#675A9E
(103,90,158)
#796EAA
(121,110,170)
#8B82B6
(139,130,182)
#9D96C2
(157,150,194)
#AFAACE
(175,170,206)
#C1BEDA
(193,190,218)
#D3D2E6
(211,210,230)
#E5E6F2
(229,230,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311E7A; }

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

This text font color is #311E7A.

Background Color

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

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

This div background color is #311E7A.

Border color

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

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

This div border color is #311E7A.

Opacity

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

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

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

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

This text has shadow with #311E7A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311E7A.

Preview

Color preview on black background

This text has color #311E7A on black background.


Color preview on white background

This text has color #311E7A on white background.


Black color preview on #311E7A background

This text has black color on #311E7A background.


White color preview on #311E7A background

This text has white color on #311E7A background.


Related colors

Complementary color

Complementary color for #hex is #CEE185.


I love getcolorcode.com

Triadic colors

1 #7A311E and #1E7A31 with #311E7A are triadic colors.

2 #7A1E31 and #1E317A with #311E7A are triadic colors.