COLOR #172FA5

HEX: #172FA5
RGB: (23,47,165)

Color info

#172FA5 contains mainly blue color. Web safe color of #172FA5 is #003399 (or #039).

RGB color model

#172FA5 color RGB value is (23,47,165).

  • red value is 23;
  • green value is 47;
  • blue value is 165.
RGB:
(23,47,165)
(9%,18%,65%)

RGB channels and saturation

R 23 of 255 = 9%
G 47 of 255 = 18%
B 165 of 255 = 65%

23
47
165

R + G + B ~ 31%. #172FA5 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
23 + 47 + 165 = 235 (100%)
R 23 of 235 ~ 9.79%
G 47 of 235 ~ 20%
B 165 of 235 ~ 70.21%

%9.79
%20
%70.21

CMYK color model

#172FA5 color CMYK value is (86,72,0,35).

  • cyan value is 86.06%
  • magenta value is 71.52%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(86,72,0,35)
C86M72Y0K35 
(86%,72%,0%,35%)
(0.86/0.72/0.00/0.35)	

CMYK percentages

%86.06
%71.52
%0
%35.29

Codes

Color #172FA5 in popluar color models

172FA5
RGB2347165
HSL230°75.53%36.86%
HSB/HSV230°86.06%64.71%
CMYK86.06%71.52%0.00%
35.29%

Color #172FA5 in popluar number systems.

HEX172FA5
Decimal2347165
Binary1011110111110100101
Octal2757245

Shades and tints

Shades of #172FA5

#172FA5
(23,47,165)
#152B96
(21,43,150)
#132787
(19,39,135)
#112378
(17,35,120)
#0F1F69
(15,31,105)
#0D1B5A
(13,27,90)
#0B174B
(11,23,75)
#09133C
(9,19,60)
#070F2D
(7,15,45)
#050B1E
(5,11,30)
#03070F
(3,7,15)
#000000
(0,0,0)

Tints of #172FA5

#172FA5
(23,47,165)
#2C41AD
(44,65,173)
#4153B5
(65,83,181)
#5665BD
(86,101,189)
#6B77C5
(107,119,197)
#8089CD
(128,137,205)
#959BD5
(149,155,213)
#AAADDD
(170,173,221)
#BFBFE5
(191,191,229)
#D4D1ED
(212,209,237)
#E9E3F5
(233,227,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #172FA5 color. Also use rgb(23,47,165) instead hex code.

Text Font Color

.myTextColor { color: #172FA5; }

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

This text font color is #172FA5.


Background Color

.myBgColor { background-color: #172FA5; }

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

This div background color is #172FA5.


Border color

.myBorderColor { border: 1px solid #172FA5; }

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

This div border color is #172FA5.


Opacity

.myOpacity80 { color: #172FA5; opacity: 0.8; }

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

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

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

This text has shadow with #172FA5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172FA5 on black background.


Color preview on white background

This text has color #172FA5 on white background.



Black color preview on #172FA5 background

This text has black color on #172FA5 background.


White color preview on #172FA5 background

This text has white color on #172FA5 background.