COLOR #2A3B7E

HEX: #2A3B7E
RGB: (42,59,126)

Color info

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

RGB color model

#2A3B7E color RGB value is (42,59,126).

  • red value is 42;
  • green value is 59;
  • blue value is 126.
RGB:
(42,59,126)
(16%,23%,49%)

RGB channels and saturation

R 42 of 255 = 16%
G 59 of 255 = 23%
B 126 of 255 = 49%

42
59
126

R + G + B ~ 29%. #2A3B7E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 59 + 126 = 227 (100%)
R 42 of 227 ~ 18.5%
G 59 of 227 ~ 25.99%
B 126 of 227 ~ 55.51%

%18.5
%25.99
%55.51

CMYK color model

#2A3B7E color CMYK value is (67,53,0,51).

  • cyan value is 66.67%
  • magenta value is 53.17%
  • yellow value is 0.00%
  • key color value is 50.59%
CMYK:
(67,53,0,51)
C67M53Y0K51 
(67%,53%,0%,51%)
(0.67/0.53/0.00/0.51)	

CMYK percentages

%66.67
%53.17
%0
%50.59

Codes

Color #2A3B7E in popluar color models

2A3B7E
RGB4259126
HSL228°50.00%32.94%
HSB/HSV228°66.67%49.41%
CMYK66.67%53.17%0.00%
50.59%

Color #2A3B7E in popluar number systems.

HEX2A3B7E
Decimal4259126
Binary1010101110111111110
Octal5273176

Shades and tints

Shades of #2A3B7E

#2A3B7E
(42,59,126)
#273673
(39,54,115)
#243168
(36,49,104)
#212C5D
(33,44,93)
#1E2752
(30,39,82)
#1B2247
(27,34,71)
#181D3C
(24,29,60)
#151831
(21,24,49)
#121326
(18,19,38)
#0F0E1B
(15,14,27)
#0C0910
(12,9,16)
#000000
(0,0,0)

Tints of #2A3B7E

#2A3B7E
(42,59,126)
#3D4C89
(61,76,137)
#505D94
(80,93,148)
#636E9F
(99,110,159)
#767FAA
(118,127,170)
#8990B5
(137,144,181)
#9CA1C0
(156,161,192)
#AFB2CB
(175,178,203)
#C2C3D6
(194,195,214)
#D5D4E1
(213,212,225)
#E8E5EC
(232,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A3B7E color. Also use rgb(42,59,126) instead hex code.

Text Font Color

.myTextColor { color: #2A3B7E; }

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

This text font color is #2A3B7E.


Background Color

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

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

This div background color is #2A3B7E.


Border color

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

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

This div border color is #2A3B7E.


Opacity

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

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

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

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

This text has shadow with #2A3B7E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A3B7E on black background.


Color preview on white background

This text has color #2A3B7E on white background.



Black color preview on #2A3B7E background

This text has black color on #2A3B7E background.


White color preview on #2A3B7E background

This text has white color on #2A3B7E background.