COLOR #1F4D97

HEX: #1F4D97
RGB: (31,77,151)

Color info

#1F4D97 contains mainly blue color. Web safe color of #1F4D97 is #333399 (or #339).

RGB color model

#1F4D97 color RGB value is (31,77,151).

  • red value is 31;
  • green value is 77;
  • blue value is 151.
RGB:
(31,77,151)
(12%,30%,59%)

RGB channels and saturation

R 31 of 255 = 12%
G 77 of 255 = 30%
B 151 of 255 = 59%

31
77
151

R + G + B ~ 34%. #1F4D97 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 77 + 151 = 259 (100%)
R 31 of 259 ~ 11.97%
G 77 of 259 ~ 29.73%
B 151 of 259 ~ 58.3%

%11.97
%29.73
%58.3

CMYK color model

#1F4D97 color CMYK value is (79,49,0,41).

  • cyan value is 79.47%
  • magenta value is 49.01%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(79,49,0,41)
C79M49Y0K41 
(79%,49%,0%,41%)
(0.79/0.49/0.00/0.41)	

CMYK percentages

%79.47
%49.01
%0
%40.78

Codes

Color #1F4D97 in popluar color models

1F4D97
RGB3177151
HSL217°65.93%35.69%
HSB/HSV217°79.47%59.22%
CMYK79.47%49.01%0.00%
40.78%

Color #1F4D97 in popluar number systems.

HEX1F4D97
Decimal3177151
Binary11111100110110010111
Octal37115227

Shades and tints

Shades of #1F4D97

#1F4D97
(31,77,151)
#1D468A
(29,70,138)
#1B3F7D
(27,63,125)
#193870
(25,56,112)
#173163
(23,49,99)
#152A56
(21,42,86)
#132349
(19,35,73)
#111C3C
(17,28,60)
#0F152F
(15,21,47)
#0D0E22
(13,14,34)
#0B0715
(11,7,21)
#000000
(0,0,0)

Tints of #1F4D97

#1F4D97
(31,77,151)
#335DA0
(51,93,160)
#476DA9
(71,109,169)
#5B7DB2
(91,125,178)
#6F8DBB
(111,141,187)
#839DC4
(131,157,196)
#97ADCD
(151,173,205)
#ABBDD6
(171,189,214)
#BFCDDF
(191,205,223)
#D3DDE8
(211,221,232)
#E7EDF1
(231,237,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F4D97 color. Also use rgb(31,77,151) instead hex code.

Text Font Color

.myTextColor { color: #1F4D97; }

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

This text font color is #1F4D97.


Background Color

.myBgColor { background-color: #1F4D97; }

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

This div background color is #1F4D97.


Border color

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

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

This div border color is #1F4D97.


Opacity

.myOpacity80 { color: #1F4D97; opacity: 0.8; }

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

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

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

This text has shadow with #1F4D97 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F4D97 on black background.


Color preview on white background

This text has color #1F4D97 on white background.



Black color preview on #1F4D97 background

This text has black color on #1F4D97 background.


White color preview on #1F4D97 background

This text has white color on #1F4D97 background.