COLOR #311F7C

HEX: #311F7C RGB: (49,31,124)

Color info

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

RGB color model

#311F7C color RGB value is (49,31,124).

RGB: (49,31,124) (19%, 12%, 49%)

RGB channels and saturation

R 49 of 255 = 19%
G 31 of 255 = 12%
B 124 of 255 = 49%

49
31
124

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

Portions of RGB colors in percentages

R + G + B = 49 + 31 + 124 = 204 (100%)
R 49 of 204 ~ 24.02%
G 31 of 204 ~ 15.2%
B 124 of 204 ~ 60.78'%

%24.02
%15.2
%60.78

CMYK color model

#311F7C color CMYK value is (60,75,0,51).

  • cyan value is 60.48%
  • magenta value is 75.00%
  • yellow value is 0.00%
  • key color value is 51.37%

CMYK: (60,75,0,51)
C60M75Y0K51 (60%, 75%, 0%, 51%)
(0.60 / 0.75 / 0.00 / 0.51)

CMYK percentages

%60.48
%75
%0
%51.37

Codes

Color #311F7C in popluar color models

31 1F 7C
RGB 49 31 124
HSL 252° 60.00% 30.39%
HSB/HSV 252° 75.00% 48.63%
CMYK 60.48% 75.00% 0.00%
51.37%

Color #311F7C in popluar number systems.

HEX 31 1F 7C
Decimal 49 31 124
Binary 110001 11111 1111100
Octal 61 37 174

Shades and tints

Shades of #311F7C

#311F7C
(49,31,124)
#2D1D71
(45,29,113)
#291B66
(41,27,102)
#25195B
(37,25,91)
#211750
(33,23,80)
#1D1545
(29,21,69)
#19133A
(25,19,58)
#15112F
(21,17,47)
#110F24
(17,15,36)
#0D0D19
(13,13,25)
#090B0E
(9,11,14)
#000000
(0,0,0)

Tints of #311F7C

#311F7C
(49,31,124)
#433387
(67,51,135)
#554792
(85,71,146)
#675B9D
(103,91,157)
#796FA8
(121,111,168)
#8B83B3
(139,131,179)
#9D97BE
(157,151,190)
#AFABC9
(175,171,201)
#C1BFD4
(193,191,212)
#D3D3DF
(211,211,223)
#E5E7EA
(229,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311F7C color. Also use rgb(49,31,124) instead hex code.

Text Font Color

.myTextColor { color: #311F7C; }

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

This text font color is #311F7C.

Background Color

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

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

This div background color is #311F7C.

Border color

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

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

This div border color is #311F7C.

Opacity

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

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

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

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

This text has shadow with #311F7C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311F7C.

Preview

Color preview on black background

This text has color #311F7C on black background.


Color preview on white background

This text has color #311F7C on white background.


Black color preview on #311F7C background

This text has black color on #311F7C background.


White color preview on #311F7C background

This text has white color on #311F7C background.


Related colors

Complementary color

Complementary color for #hex is #CEE083.


I love getcolorcode.com

Triadic colors

1 #7C311F and #1F7C31 with #311F7C are triadic colors.

2 #7C1F31 and #1F317C with #311F7C are triadic colors.