COLOR #172A71

HEX: #172A71 RGB: (23,42,113)

Color info

#172A71 contains mainly blue color. Web safe color of #172A71 is #003366 (or #036).

RGB color model

#172A71 color RGB value is (23,42,113).

RGB: (23,42,113) (9%, 16%, 44%)

RGB channels and saturation

R 23 of 255 = 9%
G 42 of 255 = 16%
B 113 of 255 = 44%

23
42
113

R + G + B ~ 23%. #172A71 is dark color.

Portions of RGB colors in percentages

R + G + B = 23 + 42 + 113 = 178 (100%)
R 23 of 178 ~ 12.92%
G 42 of 178 ~ 23.6%
B 113 of 178 ~ 63.48'%

%12.92
%23.6
%63.48

CMYK color model

#172A71 color CMYK value is (80,63,0,56).

  • cyan value is 79.65%
  • magenta value is 62.83%
  • yellow value is 0.00%
  • key color value is 55.69%

CMYK: (80,63,0,56)
C80M63Y0K56 (80%, 63%, 0%, 56%)
(0.80 / 0.63 / 0.00 / 0.56)

CMYK percentages

%79.65
%62.83
%0
%55.69

Codes

Color #172A71 in popluar color models

17 2A 71
RGB 23 42 113
HSL 227° 66.18% 26.67%
HSB/HSV 227° 79.65% 44.31%
CMYK 79.65% 62.83% 0.00%
55.69%

Color #172A71 in popluar number systems.

HEX 17 2A 71
Decimal 23 42 113
Binary 10111 101010 1110001
Octal 27 52 161

Shades and tints

Shades of #172A71

#172A71
(23,42,113)
#152767
(21,39,103)
#13245D
(19,36,93)
#112153
(17,33,83)
#0F1E49
(15,30,73)
#0D1B3F
(13,27,63)
#0B1835
(11,24,53)
#09152B
(9,21,43)
#071221
(7,18,33)
#050F17
(5,15,23)
#030C0D
(3,12,13)
#000000
(0,0,0)

Tints of #172A71

#172A71
(23,42,113)
#2C3D7D
(44,61,125)
#415089
(65,80,137)
#566395
(86,99,149)
#6B76A1
(107,118,161)
#8089AD
(128,137,173)
#959CB9
(149,156,185)
#AAAFC5
(170,175,197)
#BFC2D1
(191,194,209)
#D4D5DD
(212,213,221)
#E9E8E9
(233,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #172A71 color. Also use rgb(23,42,113) instead hex code.

Text Font Color

.myTextColor { color: #172A71; }

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

This text font color is #172A71.

Background Color

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

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

This div background color is #172A71.

Border color

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

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

This div border color is #172A71.

Opacity

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

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

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

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

This text has shadow with #172A71 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #172A71.

Preview

Color preview on black background

This text has color #172A71 on black background.


Color preview on white background

This text has color #172A71 on white background.


Black color preview on #172A71 background

This text has black color on #172A71 background.


White color preview on #172A71 background

This text has white color on #172A71 background.


Related colors

Complementary color

Complementary color for #hex is #E8D58E.


I love getcolorcode.com

Triadic colors

1 #71172A and #2A7117 with #172A71 are triadic colors.

2 #712A17 and #2A1771 with #172A71 are triadic colors.