COLOR #2B338E

HEX: #2B338E
RGB: (43,51,142)

Color info

#2B338E contains mainly blue color. Web safe color of #2B338E is #333399 (or #339).

RGB color model

#2B338E color RGB value is (43,51,142).

  • red value is 43;
  • green value is 51;
  • blue value is 142.
RGB:
(43,51,142)
(17%,20%,56%)

RGB channels and saturation

R 43 of 255 = 17%
G 51 of 255 = 20%
B 142 of 255 = 56%

43
51
142

R + G + B ~ 31%. #2B338E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
43 + 51 + 142 = 236 (100%)
R 43 of 236 ~ 18.22%
G 51 of 236 ~ 21.61%
B 142 of 236 ~ 60.17%

%18.22
%21.61
%60.17

CMYK color model

#2B338E color CMYK value is (70,64,0,44).

  • cyan value is 69.72%
  • magenta value is 64.08%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(70,64,0,44)
C70M64Y0K44 
(70%,64%,0%,44%)
(0.70/0.64/0.00/0.44)	

CMYK percentages

%69.72
%64.08
%0
%44.31

Codes

Color #2B338E in popluar color models

2B338E
RGB4351142
HSL235°53.51%36.27%
HSB/HSV235°69.72%55.69%
CMYK69.72%64.08%0.00%
44.31%

Color #2B338E in popluar number systems.

HEX2B338E
Decimal4351142
Binary10101111001110001110
Octal5363216

Shades and tints

Shades of #2B338E

#2B338E
(43,51,142)
#282F82
(40,47,130)
#252B76
(37,43,118)
#22276A
(34,39,106)
#1F235E
(31,35,94)
#1C1F52
(28,31,82)
#191B46
(25,27,70)
#16173A
(22,23,58)
#13132E
(19,19,46)
#100F22
(16,15,34)
#0D0B16
(13,11,22)
#000000
(0,0,0)

Tints of #2B338E

#2B338E
(43,51,142)
#3E4598
(62,69,152)
#5157A2
(81,87,162)
#6469AC
(100,105,172)
#777BB6
(119,123,182)
#8A8DC0
(138,141,192)
#9D9FCA
(157,159,202)
#B0B1D4
(176,177,212)
#C3C3DE
(195,195,222)
#D6D5E8
(214,213,232)
#E9E7F2
(233,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2B338E color. Also use rgb(43,51,142) instead hex code.

Text Font Color

.myTextColor { color: #2B338E; }

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

This text font color is #2B338E.


Background Color

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

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

This div background color is #2B338E.


Border color

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

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

This div border color is #2B338E.


Opacity

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

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

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

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

This text has shadow with #2B338E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2B338E on black background.


Color preview on white background

This text has color #2B338E on white background.



Black color preview on #2B338E background

This text has black color on #2B338E background.


White color preview on #2B338E background

This text has white color on #2B338E background.