COLOR #334EA6

HEX: #334EA6
RGB: (51,78,166)

Color info

#334EA6 contains mainly blue color. Web safe color of #334EA6 is #336699 (or #369).

RGB color model

#334EA6 color RGB value is (51,78,166).

  • red value is 51;
  • green value is 78;
  • blue value is 166.
RGB:
(51,78,166)
(20%,31%,65%)

RGB channels and saturation

R 51 of 255 = 20%
G 78 of 255 = 31%
B 166 of 255 = 65%

51
78
166

R + G + B ~ 39%. #334EA6 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 78 + 166 = 295 (100%)
R 51 of 295 ~ 17.29%
G 78 of 295 ~ 26.44%
B 166 of 295 ~ 56.27%

%17.29
%26.44
%56.27

CMYK color model

#334EA6 color CMYK value is (69,53,0,35).

  • cyan value is 69.28%
  • magenta value is 53.01%
  • yellow value is 0.00%
  • key color value is 34.90%
CMYK:
(69,53,0,35)
C69M53Y0K35 
(69%,53%,0%,35%)
(0.69/0.53/0.00/0.35)	

CMYK percentages

%69.28
%53.01
%0
%34.9

Codes

Color #334EA6 in popluar color models

334EA6
RGB5178166
HSL226°53.00%42.55%
HSB/HSV226°69.28%65.10%
CMYK69.28%53.01%0.00%
34.90%

Color #334EA6 in popluar number systems.

HEX334EA6
Decimal5178166
Binary110011100111010100110
Octal63116246

Shades and tints

Shades of #334EA6

#334EA6
(51,78,166)
#2F4797
(47,71,151)
#2B4088
(43,64,136)
#273979
(39,57,121)
#23326A
(35,50,106)
#1F2B5B
(31,43,91)
#1B244C
(27,36,76)
#171D3D
(23,29,61)
#13162E
(19,22,46)
#0F0F1F
(15,15,31)
#0B0810
(11,8,16)
#000000
(0,0,0)

Tints of #334EA6

#334EA6
(51,78,166)
#455EAE
(69,94,174)
#576EB6
(87,110,182)
#697EBE
(105,126,190)
#7B8EC6
(123,142,198)
#8D9ECE
(141,158,206)
#9FAED6
(159,174,214)
#B1BEDE
(177,190,222)
#C3CEE6
(195,206,230)
#D5DEEE
(213,222,238)
#E7EEF6
(231,238,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #334EA6 color. Also use rgb(51,78,166) instead hex code.

Text Font Color

.myTextColor { color: #334EA6; }

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

This text font color is #334EA6.


Background Color

.myBgColor { background-color: #334EA6; }

<div style="background-color:#334EA6">Inner text</div>

This div background color is #334EA6.


Border color

.myBorderColor { border: 1px solid #334EA6; }

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

This div border color is #334EA6.


Opacity

.myOpacity80 { color: #334EA6; opacity: 0.8; }

<p style="color:#334EA6;opacity:0.8;">80%</p>

Text with #334EA6 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 #334EA6;}

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

This text has shadow with #334EA6 color.

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

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

This text has shadow with #334EA6 primary color and red secondary color.


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

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

This text has shadow with #334EA6 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #334EA6 on black background.


Color preview on white background

This text has color #334EA6 on white background.



Black color preview on #334EA6 background

This text has black color on #334EA6 background.


White color preview on #334EA6 background

This text has white color on #334EA6 background.