COLOR #2A3376

HEX: #2A3376
RGB: (42,51,118)

Color info

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

RGB color model

#2A3376 color RGB value is (42,51,118).

  • red value is 42;
  • green value is 51;
  • blue value is 118.
RGB:
(42,51,118)
(16%,20%,46%)

RGB channels and saturation

R 42 of 255 = 16%
G 51 of 255 = 20%
B 118 of 255 = 46%

42
51
118

R + G + B ~ 27%. #2A3376 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 51 + 118 = 211 (100%)
R 42 of 211 ~ 19.91%
G 51 of 211 ~ 24.17%
B 118 of 211 ~ 55.92%

%19.91
%24.17
%55.92

CMYK color model

#2A3376 color CMYK value is (64,57,0,54).

  • cyan value is 64.41%
  • magenta value is 56.78%
  • yellow value is 0.00%
  • key color value is 53.73%
CMYK:
(64,57,0,54)
C64M57Y0K54 
(64%,57%,0%,54%)
(0.64/0.57/0.00/0.54)	

CMYK percentages

%64.41
%56.78
%0
%53.73

Codes

Color #2A3376 in popluar color models

2A3376
RGB4251118
HSL233°47.50%31.37%
HSB/HSV233°64.41%46.27%
CMYK64.41%56.78%0.00%
53.73%

Color #2A3376 in popluar number systems.

HEX2A3376
Decimal4251118
Binary1010101100111110110
Octal5263166

Shades and tints

Shades of #2A3376

#2A3376
(42,51,118)
#272F6C
(39,47,108)
#242B62
(36,43,98)
#212758
(33,39,88)
#1E234E
(30,35,78)
#1B1F44
(27,31,68)
#181B3A
(24,27,58)
#151730
(21,23,48)
#121326
(18,19,38)
#0F0F1C
(15,15,28)
#0C0B12
(12,11,18)
#000000
(0,0,0)

Tints of #2A3376

#2A3376
(42,51,118)
#3D4582
(61,69,130)
#50578E
(80,87,142)
#63699A
(99,105,154)
#767BA6
(118,123,166)
#898DB2
(137,141,178)
#9C9FBE
(156,159,190)
#AFB1CA
(175,177,202)
#C2C3D6
(194,195,214)
#D5D5E2
(213,213,226)
#E8E7EE
(232,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A3376 color. Also use rgb(42,51,118) instead hex code.

Text Font Color

.myTextColor { color: #2A3376; }

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

This text font color is #2A3376.


Background Color

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

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

This div background color is #2A3376.


Border color

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

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

This div border color is #2A3376.


Opacity

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

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

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

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

This text has shadow with #2A3376 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A3376 on black background.


Color preview on white background

This text has color #2A3376 on white background.



Black color preview on #2A3376 background

This text has black color on #2A3376 background.


White color preview on #2A3376 background

This text has white color on #2A3376 background.