COLOR #2F417B

HEX: #2F417B
RGB: (47,65,123)

Color info

#2F417B contains mainly green and blue colors. Web safe color of #2F417B is #333366 (or #336).

RGB color model

#2F417B color RGB value is (47,65,123).

  • red value is 47;
  • green value is 65;
  • blue value is 123.
RGB:
(47,65,123)
(18%,25%,48%)

RGB channels and saturation

R 47 of 255 = 18%
G 65 of 255 = 25%
B 123 of 255 = 48%

47
65
123

R + G + B ~ 30%. #2F417B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 65 + 123 = 235 (100%)
R 47 of 235 ~ 20%
G 65 of 235 ~ 27.66%
B 123 of 235 ~ 52.34%

%20
%27.66
%52.34

CMYK color model

#2F417B color CMYK value is (62,47,0,52).

  • cyan value is 61.79%
  • magenta value is 47.15%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(62,47,0,52)
C62M47Y0K52 
(62%,47%,0%,52%)
(0.62/0.47/0.00/0.52)	

CMYK percentages

%61.79
%47.15
%0
%51.76

Codes

Color #2F417B in popluar color models

2F417B
RGB4765123
HSL226°44.71%33.33%
HSB/HSV226°61.79%48.24%
CMYK61.79%47.15%0.00%
51.76%

Color #2F417B in popluar number systems.

HEX2F417B
Decimal4765123
Binary10111110000011111011
Octal57101173

Shades and tints

Shades of #2F417B

#2F417B
(47,65,123)
#2B3C70
(43,60,112)
#273765
(39,55,101)
#23325A
(35,50,90)
#1F2D4F
(31,45,79)
#1B2844
(27,40,68)
#172339
(23,35,57)
#131E2E
(19,30,46)
#0F1923
(15,25,35)
#0B1418
(11,20,24)
#070F0D
(7,15,13)
#000000
(0,0,0)

Tints of #2F417B

#2F417B
(47,65,123)
#415287
(65,82,135)
#536393
(83,99,147)
#65749F
(101,116,159)
#7785AB
(119,133,171)
#8996B7
(137,150,183)
#9BA7C3
(155,167,195)
#ADB8CF
(173,184,207)
#BFC9DB
(191,201,219)
#D1DAE7
(209,218,231)
#E3EBF3
(227,235,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F417B color. Also use rgb(47,65,123) instead hex code.

Text Font Color

.myTextColor { color: #2F417B; }

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

This text font color is #2F417B.


Background Color

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

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

This div background color is #2F417B.


Border color

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

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

This div border color is #2F417B.


Opacity

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

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

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

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

This text has shadow with #2F417B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F417B on black background.


Color preview on white background

This text has color #2F417B on white background.



Black color preview on #2F417B background

This text has black color on #2F417B background.


White color preview on #2F417B background

This text has white color on #2F417B background.