COLOR #3A3A9E

HEX: #3A3A9E
RGB: (58,58,158)

Color info

#3A3A9E contains mainly blue color. Web safe color of #3A3A9E is #333399 (or #339).

RGB color model

#3A3A9E color RGB value is (58,58,158).

  • red value is 58;
  • green value is 58;
  • blue value is 158.
RGB:
(58,58,158)
(23%,23%,62%)

RGB channels and saturation

R 58 of 255 = 23%
G 58 of 255 = 23%
B 158 of 255 = 62%

58
58
158

R + G + B ~ 36%. #3A3A9E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
58 + 58 + 158 = 274 (100%)
R 58 of 274 ~ 21.17%
G 58 of 274 ~ 21.17%
B 158 of 274 ~ 57.66%

%21.17
%21.17
%57.66

CMYK color model

#3A3A9E color CMYK value is (63,63,0,38).

  • cyan value is 63.29%
  • magenta value is 63.29%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(63,63,0,38)
C63M63Y0K38 
(63%,63%,0%,38%)
(0.63/0.63/0.00/0.38)	

CMYK percentages

%63.29
%63.29
%0
%38.04

Codes

Color #3A3A9E in popluar color models

3A3A9E
RGB5858158
HSL240°46.30%42.35%
HSB/HSV240°63.29%61.96%
CMYK63.29%63.29%0.00%
38.04%

Color #3A3A9E in popluar number systems.

HEX3A3A9E
Decimal5858158
Binary11101011101010011110
Octal7272236

Shades and tints

Shades of #3A3A9E

#3A3A9E
(58,58,158)
#353590
(53,53,144)
#303082
(48,48,130)
#2B2B74
(43,43,116)
#262666
(38,38,102)
#212158
(33,33,88)
#1C1C4A
(28,28,74)
#17173C
(23,23,60)
#12122E
(18,18,46)
#0D0D20
(13,13,32)
#080812
(8,8,18)
#000000
(0,0,0)

Tints of #3A3A9E

#3A3A9E
(58,58,158)
#4B4BA6
(75,75,166)
#5C5CAE
(92,92,174)
#6D6DB6
(109,109,182)
#7E7EBE
(126,126,190)
#8F8FC6
(143,143,198)
#A0A0CE
(160,160,206)
#B1B1D6
(177,177,214)
#C2C2DE
(194,194,222)
#D3D3E6
(211,211,230)
#E4E4EE
(228,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #3A3A9E color. Also use rgb(58,58,158) instead hex code.

Text Font Color

.myTextColor { color: #3A3A9E; }

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

This text font color is #3A3A9E.


Background Color

.myBgColor { background-color: #3A3A9E; }

<div style="background-color:#3A3A9E">Inner text</div>

This div background color is #3A3A9E.


Border color

.myBorderColor { border: 1px solid #3A3A9E; }

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

This div border color is #3A3A9E.


Opacity

.myOpacity80 { color: #3A3A9E; opacity: 0.8; }

<p style="color:#3A3A9E;opacity:0.8;">80%</p>

Text with #3A3A9E 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 #3A3A9E;}

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

This text has shadow with #3A3A9E color.

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

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

This text has shadow with #3A3A9E primary color and red secondary color.


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

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

This text has shadow with #3A3A9E and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A3A9E on black background.


Color preview on white background

This text has color #3A3A9E on white background.



Black color preview on #3A3A9E background

This text has black color on #3A3A9E background.


White color preview on #3A3A9E background

This text has white color on #3A3A9E background.