COLOR #2B4871

HEX: #2B4871
RGB: (43,72,113)

Color info

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

RGB color model

#2B4871 color RGB value is (43,72,113).

  • red value is 43;
  • green value is 72;
  • blue value is 113.
RGB:
(43,72,113)
(17%,28%,44%)

RGB channels and saturation

R 43 of 255 = 17%
G 72 of 255 = 28%
B 113 of 255 = 44%

43
72
113

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

Portions of RGB colors in percentages

R + G + B =
43 + 72 + 113 = 228 (100%)
R 43 of 228 ~ 18.86%
G 72 of 228 ~ 31.58%
B 113 of 228 ~ 49.56%

%18.86
%31.58
%49.56

CMYK color model

#2B4871 color CMYK value is (62,36,0,56).

  • cyan value is 61.95%
  • magenta value is 36.28%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(62,36,0,56)
C62M36Y0K56 
(62%,36%,0%,56%)
(0.62/0.36/0.00/0.56)	

CMYK percentages

%61.95
%36.28
%0
%55.69

Codes

Color #2B4871 in popluar color models

2B4871
RGB4372113
HSL215°44.87%30.59%
HSB/HSV215°61.95%44.31%
CMYK61.95%36.28%0.00%
55.69%

Color #2B4871 in popluar number systems.

HEX2B4871
Decimal4372113
Binary10101110010001110001
Octal53110161

Shades and tints

Shades of #2B4871

#2B4871
(43,72,113)
#284267
(40,66,103)
#253C5D
(37,60,93)
#223653
(34,54,83)
#1F3049
(31,48,73)
#1C2A3F
(28,42,63)
#192435
(25,36,53)
#161E2B
(22,30,43)
#131821
(19,24,33)
#101217
(16,18,23)
#0D0C0D
(13,12,13)
#000000
(0,0,0)

Tints of #2B4871

#2B4871
(43,72,113)
#3E587D
(62,88,125)
#516889
(81,104,137)
#647895
(100,120,149)
#7788A1
(119,136,161)
#8A98AD
(138,152,173)
#9DA8B9
(157,168,185)
#B0B8C5
(176,184,197)
#C3C8D1
(195,200,209)
#D6D8DD
(214,216,221)
#E9E8E9
(233,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2B4871 color. Also use rgb(43,72,113) instead hex code.

Text Font Color

.myTextColor { color: #2B4871; }

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

This text font color is #2B4871.


Background Color

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

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

This div background color is #2B4871.


Border color

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

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

This div border color is #2B4871.


Opacity

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

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

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

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

This text has shadow with #2B4871 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2B4871 on black background.


Color preview on white background

This text has color #2B4871 on white background.



Black color preview on #2B4871 background

This text has black color on #2B4871 background.


White color preview on #2B4871 background

This text has white color on #2B4871 background.