COLOR #2F397E

HEX: #2F397E
RGB: (47,57,126)

Color info

#2F397E contains mainly blue color. Web safe color of #2F397E is #333366 (or #336).

RGB color model

#2F397E color RGB value is (47,57,126).

  • red value is 47;
  • green value is 57;
  • blue value is 126.
RGB:
(47,57,126)
(18%,22%,49%)

RGB channels and saturation

R 47 of 255 = 18%
G 57 of 255 = 22%
B 126 of 255 = 49%

47
57
126

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

Portions of RGB colors in percentages

R + G + B =
47 + 57 + 126 = 230 (100%)
R 47 of 230 ~ 20.43%
G 57 of 230 ~ 24.78%
B 126 of 230 ~ 54.78%

%20.43
%24.78
%54.78

CMYK color model

#2F397E color CMYK value is (63,55,0,51).

  • cyan value is 62.70%
  • magenta value is 54.76%
  • yellow value is 0.00%
  • key color value is 50.59%
CMYK:
(63,55,0,51)
C63M55Y0K51 
(63%,55%,0%,51%)
(0.63/0.55/0.00/0.51)	

CMYK percentages

%62.7
%54.76
%0
%50.59

Codes

Color #2F397E in popluar color models

2F397E
RGB4757126
HSL232°45.66%33.92%
HSB/HSV232°62.70%49.41%
CMYK62.70%54.76%0.00%
50.59%

Color #2F397E in popluar number systems.

HEX2F397E
Decimal4757126
Binary1011111110011111110
Octal5771176

Shades and tints

Shades of #2F397E

#2F397E
(47,57,126)
#2B3473
(43,52,115)
#272F68
(39,47,104)
#232A5D
(35,42,93)
#1F2552
(31,37,82)
#1B2047
(27,32,71)
#171B3C
(23,27,60)
#131631
(19,22,49)
#0F1126
(15,17,38)
#0B0C1B
(11,12,27)
#070710
(7,7,16)
#000000
(0,0,0)

Tints of #2F397E

#2F397E
(47,57,126)
#414B89
(65,75,137)
#535D94
(83,93,148)
#656F9F
(101,111,159)
#7781AA
(119,129,170)
#8993B5
(137,147,181)
#9BA5C0
(155,165,192)
#ADB7CB
(173,183,203)
#BFC9D6
(191,201,214)
#D1DBE1
(209,219,225)
#E3EDEC
(227,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F397E color. Also use rgb(47,57,126) instead hex code.

Text Font Color

.myTextColor { color: #2F397E; }

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

This text font color is #2F397E.


Background Color

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

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

This div background color is #2F397E.


Border color

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

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

This div border color is #2F397E.


Opacity

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

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

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

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

This text has shadow with #2F397E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F397E on black background.


Color preview on white background

This text has color #2F397E on white background.



Black color preview on #2F397E background

This text has black color on #2F397E background.


White color preview on #2F397E background

This text has white color on #2F397E background.