COLOR #3940AF

HEX: #3940AF
RGB: (57,64,175)

Color info

#3940AF contains mainly blue color. Web safe color of #3940AF is #333399 (or #339).

RGB color model

#3940AF color RGB value is (57,64,175).

  • red value is 57;
  • green value is 64;
  • blue value is 175.
RGB:
(57,64,175)
(22%,25%,69%)

RGB channels and saturation

R 57 of 255 = 22%
G 64 of 255 = 25%
B 175 of 255 = 69%

57
64
175

R + G + B ~ 39%. #3940AF is quite dark color.

Portions of RGB colors in percentages

R + G + B =
57 + 64 + 175 = 296 (100%)
R 57 of 296 ~ 19.26%
G 64 of 296 ~ 21.62%
B 175 of 296 ~ 59.12%

%19.26
%21.62
%59.12

CMYK color model

#3940AF color CMYK value is (67,63,0,31).

  • cyan value is 67.43%
  • magenta value is 63.43%
  • yellow value is 0.00%
  • key color value is 31.37%
CMYK:
(67,63,0,31)
C67M63Y0K31 
(67%,63%,0%,31%)
(0.67/0.63/0.00/0.31)	

CMYK percentages

%67.43
%63.43
%0
%31.37

Codes

Color #3940AF in popluar color models

3940AF
RGB5764175
HSL236°50.86%45.49%
HSB/HSV236°67.43%68.63%
CMYK67.43%63.43%0.00%
31.37%

Color #3940AF in popluar number systems.

HEX3940AF
Decimal5764175
Binary111001100000010101111
Octal71100257

Shades and tints

Shades of #3940AF

#3940AF
(57,64,175)
#343BA0
(52,59,160)
#2F3691
(47,54,145)
#2A3182
(42,49,130)
#252C73
(37,44,115)
#202764
(32,39,100)
#1B2255
(27,34,85)
#161D46
(22,29,70)
#111837
(17,24,55)
#0C1328
(12,19,40)
#070E19
(7,14,25)
#000000
(0,0,0)

Tints of #3940AF

#3940AF
(57,64,175)
#4B51B6
(75,81,182)
#5D62BD
(93,98,189)
#6F73C4
(111,115,196)
#8184CB
(129,132,203)
#9395D2
(147,149,210)
#A5A6D9
(165,166,217)
#B7B7E0
(183,183,224)
#C9C8E7
(201,200,231)
#DBD9EE
(219,217,238)
#EDEAF5
(237,234,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #3940AF color. Also use rgb(57,64,175) instead hex code.

Text Font Color

.myTextColor { color: #3940AF; }

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

This text font color is #3940AF.


Background Color

.myBgColor { background-color: #3940AF; }

<div style="background-color:#3940AF">Inner text</div>

This div background color is #3940AF.


Border color

.myBorderColor { border: 1px solid #3940AF; }

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

This div border color is #3940AF.


Opacity

.myOpacity80 { color: #3940AF; opacity: 0.8; }

<p style="color:#3940AF;opacity:0.8;">80%</p>

Text with #3940AF 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 #3940AF;}

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

This text has shadow with #3940AF color.

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

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

This text has shadow with #3940AF primary color and red secondary color.


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

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

This text has shadow with #3940AF and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3940AF on black background.


Color preview on white background

This text has color #3940AF on white background.



Black color preview on #3940AF background

This text has black color on #3940AF background.


White color preview on #3940AF background

This text has white color on #3940AF background.