COLOR #2F5AAA

HEX: #2F5AAA
RGB: (47,90,170)

Color info

#2F5AAA contains mainly blue color. Web safe color of #2F5AAA is #336699 (or #369).

RGB color model

#2F5AAA color RGB value is (47,90,170).

  • red value is 47;
  • green value is 90;
  • blue value is 170.
RGB:
(47,90,170)
(18%,35%,67%)

RGB channels and saturation

R 47 of 255 = 18%
G 90 of 255 = 35%
B 170 of 255 = 67%

47
90
170

R + G + B ~ 40%. #2F5AAA is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
47 + 90 + 170 = 307 (100%)
R 47 of 307 ~ 15.31%
G 90 of 307 ~ 29.32%
B 170 of 307 ~ 55.37%

%15.31
%29.32
%55.37

CMYK color model

#2F5AAA color CMYK value is (72,47,0,33).

  • cyan value is 72.35%
  • magenta value is 47.06%
  • yellow value is 0.00%
  • key color value is 33.33%
CMYK:
(72,47,0,33)
C72M47Y0K33 
(72%,47%,0%,33%)
(0.72/0.47/0.00/0.33)	

CMYK percentages

%72.35
%47.06
%0
%33.33

Codes

Color #2F5AAA in popluar color models

2F5AAA
RGB4790170
HSL219°56.68%42.55%
HSB/HSV219°72.35%66.67%
CMYK72.35%47.06%0.00%
33.33%

Color #2F5AAA in popluar number systems.

HEX2F5AAA
Decimal4790170
Binary101111101101010101010
Octal57132252

Shades and tints

Shades of #2F5AAA

#2F5AAA
(47,90,170)
#2B529B
(43,82,155)
#274A8C
(39,74,140)
#23427D
(35,66,125)
#1F3A6E
(31,58,110)
#1B325F
(27,50,95)
#172A50
(23,42,80)
#132241
(19,34,65)
#0F1A32
(15,26,50)
#0B1223
(11,18,35)
#070A14
(7,10,20)
#000000
(0,0,0)

Tints of #2F5AAA

#2F5AAA
(47,90,170)
#4169B1
(65,105,177)
#5378B8
(83,120,184)
#6587BF
(101,135,191)
#7796C6
(119,150,198)
#89A5CD
(137,165,205)
#9BB4D4
(155,180,212)
#ADC3DB
(173,195,219)
#BFD2E2
(191,210,226)
#D1E1E9
(209,225,233)
#E3F0F0
(227,240,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F5AAA color. Also use rgb(47,90,170) instead hex code.

Text Font Color

.myTextColor { color: #2F5AAA; }

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

This text font color is #2F5AAA.


Background Color

.myBgColor { background-color: #2F5AAA; }

<div style="background-color:#2F5AAA">Inner text</div>

This div background color is #2F5AAA.


Border color

.myBorderColor { border: 1px solid #2F5AAA; }

<div style="border:3px solid #2F5AAA">Div</div>

This div border color is #2F5AAA.


Opacity

.myOpacity80 { color: #2F5AAA; opacity: 0.8; }

<p style="color:#2F5AAA;opacity:0.8;">80%</p>

Text with #2F5AAA 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 #2F5AAA;}

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

This text has shadow with #2F5AAA color.

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

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

This text has shadow with #2F5AAA primary color and red secondary color.


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

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

This text has shadow with #2F5AAA and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F5AAA on black background.


Color preview on white background

This text has color #2F5AAA on white background.



Black color preview on #2F5AAA background

This text has black color on #2F5AAA background.


White color preview on #2F5AAA background

This text has white color on #2F5AAA background.