COLOR #2A3399

HEX: #2A3399 RGB: (42,51,153)

Color info

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

RGB color model

#2A3399 color RGB value is (42,51,153).

RGB: (42,51,153) (16%, 20%, 60%)

RGB channels and saturation

R 42 of 255 = 16%
G 51 of 255 = 20%
B 153 of 255 = 60%

42
51
153

R + G + B ~ 32%. #2A3399 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 51 + 153 = 246 (100%)
R 42 of 246 ~ 17.07%
G 51 of 246 ~ 20.73%
B 153 of 246 ~ 62.2'%

%17.07
%20.73
%62.2

CMYK color model

#2A3399 color CMYK value is (73,67,0,40).

  • cyan value is 72.55%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 40.00%

CMYK: (73,67,0,40)
C73M67Y0K40 (73%, 67%, 0%, 40%)
(0.73 / 0.67 / 0.00 / 0.40)

CMYK percentages

%72.55
%66.67
%0
%40

Codes

Color #2A3399 in popluar color models

2A 33 99
RGB 42 51 153
HSL 235° 56.92% 38.24%
HSB/HSV 235° 72.55% 60.00%
CMYK 72.55% 66.67% 0.00%
40.00%

Color #2A3399 in popluar number systems.

HEX 2A 33 99
Decimal 42 51 153
Binary 101010 110011 10011001
Octal 52 63 231

Shades and tints

Shades of #2A3399

#2A3399
(42,51,153)
#272F8C
(39,47,140)
#242B7F
(36,43,127)
#212772
(33,39,114)
#1E2365
(30,35,101)
#1B1F58
(27,31,88)
#181B4B
(24,27,75)
#15173E
(21,23,62)
#121331
(18,19,49)
#0F0F24
(15,15,36)
#0C0B17
(12,11,23)
#000000
(0,0,0)

Tints of #2A3399

#2A3399
(42,51,153)
#3D45A2
(61,69,162)
#5057AB
(80,87,171)
#6369B4
(99,105,180)
#767BBD
(118,123,189)
#898DC6
(137,141,198)
#9C9FCF
(156,159,207)
#AFB1D8
(175,177,216)
#C2C3E1
(194,195,225)
#D5D5EA
(213,213,234)
#E8E7F3
(232,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A3399; }

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

This text font color is #2A3399.

Background Color

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

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

This div background color is #2A3399.

Border color

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

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

This div border color is #2A3399.

Opacity

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

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

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

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

This text has shadow with #2A3399 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A3399.

Preview

Color preview on black background

This text has color #2A3399 on black background.


Color preview on white background

This text has color #2A3399 on white background.


Black color preview on #2A3399 background

This text has black color on #2A3399 background.


White color preview on #2A3399 background

This text has white color on #2A3399 background.


Related colors

Complementary color

Complementary color for #hex is #D5CC66.


I love getcolorcode.com

Triadic colors

1 #992A33 and #33992A with #2A3399 are triadic colors.

2 #99332A and #332A99 with #2A3399 are triadic colors.