COLOR #311784

HEX: #311784 RGB: (49,23,132)

Color info

#311784 contains mainly blue color. Web safe color of #311784 is #330099 (or #309).

RGB color model

#311784 color RGB value is (49,23,132).

RGB: (49,23,132) (19%, 9%, 52%)

RGB channels and saturation

R 49 of 255 = 19%
G 23 of 255 = 9%
B 132 of 255 = 52%

49
23
132

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

Portions of RGB colors in percentages

R + G + B = 49 + 23 + 132 = 204 (100%)
R 49 of 204 ~ 24.02%
G 23 of 204 ~ 11.27%
B 132 of 204 ~ 64.71'%

%24.02
%11.27
%64.71

CMYK color model

#311784 color CMYK value is (63,83,0,48).

  • cyan value is 62.88%
  • magenta value is 82.58%
  • yellow value is 0.00%
  • key color value is 48.24%

CMYK: (63,83,0,48)
C63M83Y0K48 (63%, 83%, 0%, 48%)
(0.63 / 0.83 / 0.00 / 0.48)

CMYK percentages

%62.88
%82.58
%0
%48.24

Codes

Color #311784 in popluar color models

31 17 84
RGB 49 23 132
HSL 254° 70.32% 30.39%
HSB/HSV 254° 82.58% 51.76%
CMYK 62.88% 82.58% 0.00%
48.24%

Color #311784 in popluar number systems.

HEX 31 17 84
Decimal 49 23 132
Binary 110001 10111 10000100
Octal 61 27 204

Shades and tints

Shades of #311784

#311784
(49,23,132)
#2D1578
(45,21,120)
#29136C
(41,19,108)
#251160
(37,17,96)
#210F54
(33,15,84)
#1D0D48
(29,13,72)
#190B3C
(25,11,60)
#150930
(21,9,48)
#110724
(17,7,36)
#0D0518
(13,5,24)
#09030C
(9,3,12)
#000000
(0,0,0)

Tints of #311784

#311784
(49,23,132)
#432C8F
(67,44,143)
#55419A
(85,65,154)
#6756A5
(103,86,165)
#796BB0
(121,107,176)
#8B80BB
(139,128,187)
#9D95C6
(157,149,198)
#AFAAD1
(175,170,209)
#C1BFDC
(193,191,220)
#D3D4E7
(211,212,231)
#E5E9F2
(229,233,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311784 color. Also use rgb(49,23,132) instead hex code.

Text Font Color

.myTextColor { color: #311784; }

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

This text font color is #311784.

Background Color

.myBgColor { background-color: #311784; }

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

This div background color is #311784.

Border color

.myBorderColor { border: 1px solid #311784; }

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

This div border color is #311784.

Opacity

.myOpacity80 { color: #311784; opacity: 0.8; }

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

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

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

This text has shadow with #311784 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311784.

Preview

Color preview on black background

This text has color #311784 on black background.


Color preview on white background

This text has color #311784 on white background.


Black color preview on #311784 background

This text has black color on #311784 background.


White color preview on #311784 background

This text has white color on #311784 background.


Related colors

Complementary color

Complementary color for #hex is #CEE87B.


I love getcolorcode.com

Triadic colors

1 #843117 and #178431 with #311784 are triadic colors.

2 #841731 and #173184 with #311784 are triadic colors.