COLOR #1F4F94

HEX: #1F4F94
RGB: (31,79,148)

Color info

#1F4F94 contains mainly blue color. Web safe color of #1F4F94 is #336699 (or #369).

RGB color model

#1F4F94 color RGB value is (31,79,148).

  • red value is 31;
  • green value is 79;
  • blue value is 148.
RGB:
(31,79,148)
(12%,31%,58%)

RGB channels and saturation

R 31 of 255 = 12%
G 79 of 255 = 31%
B 148 of 255 = 58%

31
79
148

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

Portions of RGB colors in percentages

R + G + B =
31 + 79 + 148 = 258 (100%)
R 31 of 258 ~ 12.02%
G 79 of 258 ~ 30.62%
B 148 of 258 ~ 57.36%

%12.02
%30.62
%57.36

CMYK color model

#1F4F94 color CMYK value is (79,47,0,42).

  • cyan value is 79.05%
  • magenta value is 46.62%
  • yellow value is 0.00%
  • key color value is 41.96%
CMYK:
(79,47,0,42)
C79M47Y0K42 
(79%,47%,0%,42%)
(0.79/0.47/0.00/0.42)	

CMYK percentages

%79.05
%46.62
%0
%41.96

Codes

Color #1F4F94 in popluar color models

1F4F94
RGB3179148
HSL215°65.36%35.10%
HSB/HSV215°79.05%58.04%
CMYK79.05%46.62%0.00%
41.96%

Color #1F4F94 in popluar number systems.

HEX1F4F94
Decimal3179148
Binary11111100111110010100
Octal37117224

Shades and tints

Shades of #1F4F94

#1F4F94
(31,79,148)
#1D4887
(29,72,135)
#1B417A
(27,65,122)
#193A6D
(25,58,109)
#173360
(23,51,96)
#152C53
(21,44,83)
#132546
(19,37,70)
#111E39
(17,30,57)
#0F172C
(15,23,44)
#0D101F
(13,16,31)
#0B0912
(11,9,18)
#000000
(0,0,0)

Tints of #1F4F94

#1F4F94
(31,79,148)
#335F9D
(51,95,157)
#476FA6
(71,111,166)
#5B7FAF
(91,127,175)
#6F8FB8
(111,143,184)
#839FC1
(131,159,193)
#97AFCA
(151,175,202)
#ABBFD3
(171,191,211)
#BFCFDC
(191,207,220)
#D3DFE5
(211,223,229)
#E7EFEE
(231,239,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F4F94 color. Also use rgb(31,79,148) instead hex code.

Text Font Color

.myTextColor { color: #1F4F94; }

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

This text font color is #1F4F94.


Background Color

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

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

This div background color is #1F4F94.


Border color

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

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

This div border color is #1F4F94.


Opacity

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

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

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

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

This text has shadow with #1F4F94 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F4F94 on black background.


Color preview on white background

This text has color #1F4F94 on white background.



Black color preview on #1F4F94 background

This text has black color on #1F4F94 background.


White color preview on #1F4F94 background

This text has white color on #1F4F94 background.