COLOR #3A40AB

HEX: #3A40AB
RGB: (58,64,171)

Color info

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

RGB color model

#3A40AB color RGB value is (58,64,171).

  • red value is 58;
  • green value is 64;
  • blue value is 171.
RGB:
(58,64,171)
(23%,25%,67%)

RGB channels and saturation

R 58 of 255 = 23%
G 64 of 255 = 25%
B 171 of 255 = 67%

58
64
171

R + G + B ~ 38%. #3A40AB is quite dark color.

Portions of RGB colors in percentages

R + G + B =
58 + 64 + 171 = 293 (100%)
R 58 of 293 ~ 19.8%
G 64 of 293 ~ 21.84%
B 171 of 293 ~ 58.36%

%19.8
%21.84
%58.36

CMYK color model

#3A40AB color CMYK value is (66,63,0,33).

  • cyan value is 66.08%
  • magenta value is 62.57%
  • yellow value is 0.00%
  • key color value is 32.94%
CMYK:
(66,63,0,33)
C66M63Y0K33 
(66%,63%,0%,33%)
(0.66/0.63/0.00/0.33)	

CMYK percentages

%66.08
%62.57
%0
%32.94

Codes

Color #3A40AB in popluar color models

3A40AB
RGB5864171
HSL237°49.34%44.90%
HSB/HSV237°66.08%67.06%
CMYK66.08%62.57%0.00%
32.94%

Color #3A40AB in popluar number systems.

HEX3A40AB
Decimal5864171
Binary111010100000010101011
Octal72100253

Shades and tints

Shades of #3A40AB

#3A40AB
(58,64,171)
#353B9C
(53,59,156)
#30368D
(48,54,141)
#2B317E
(43,49,126)
#262C6F
(38,44,111)
#212760
(33,39,96)
#1C2251
(28,34,81)
#171D42
(23,29,66)
#121833
(18,24,51)
#0D1324
(13,19,36)
#080E15
(8,14,21)
#000000
(0,0,0)

Tints of #3A40AB

#3A40AB
(58,64,171)
#4B51B2
(75,81,178)
#5C62B9
(92,98,185)
#6D73C0
(109,115,192)
#7E84C7
(126,132,199)
#8F95CE
(143,149,206)
#A0A6D5
(160,166,213)
#B1B7DC
(177,183,220)
#C2C8E3
(194,200,227)
#D3D9EA
(211,217,234)
#E4EAF1
(228,234,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #3A40AB; }

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

This text font color is #3A40AB.


Background Color

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

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

This div background color is #3A40AB.


Border color

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

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

This div border color is #3A40AB.


Opacity

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

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

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

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

This text has shadow with #3A40AB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A40AB on black background.


Color preview on white background

This text has color #3A40AB on white background.



Black color preview on #3A40AB background

This text has black color on #3A40AB background.


White color preview on #3A40AB background

This text has white color on #3A40AB background.