COLOR #3A5795

HEX: #3A5795
RGB: (58,87,149)

Color info

#3A5795 contains mainly blue color. Web safe color of #3A5795 is #336699 (or #369).

RGB color model

#3A5795 color RGB value is (58,87,149).

  • red value is 58;
  • green value is 87;
  • blue value is 149.
RGB:
(58,87,149)
(23%,34%,58%)

RGB channels and saturation

R 58 of 255 = 23%
G 87 of 255 = 34%
B 149 of 255 = 58%

58
87
149

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

Portions of RGB colors in percentages

R + G + B =
58 + 87 + 149 = 294 (100%)
R 58 of 294 ~ 19.73%
G 87 of 294 ~ 29.59%
B 149 of 294 ~ 50.68%

%19.73
%29.59
%50.68

CMYK color model

#3A5795 color CMYK value is (61,42,0,42).

  • cyan value is 61.07%
  • magenta value is 41.61%
  • yellow value is 0.00%
  • key color value is 41.57%
CMYK:
(61,42,0,42)
C61M42Y0K42 
(61%,42%,0%,42%)
(0.61/0.42/0.00/0.42)	

CMYK percentages

%61.07
%41.61
%0
%41.57

Codes

Color #3A5795 in popluar color models

3A5795
RGB5887149
HSL221°43.96%40.59%
HSB/HSV221°61.07%58.43%
CMYK61.07%41.61%0.00%
41.57%

Color #3A5795 in popluar number systems.

HEX3A5795
Decimal5887149
Binary111010101011110010101
Octal72127225

Shades and tints

Shades of #3A5795

#3A5795
(58,87,149)
#355088
(53,80,136)
#30497B
(48,73,123)
#2B426E
(43,66,110)
#263B61
(38,59,97)
#213454
(33,52,84)
#1C2D47
(28,45,71)
#17263A
(23,38,58)
#121F2D
(18,31,45)
#0D1820
(13,24,32)
#081113
(8,17,19)
#000000
(0,0,0)

Tints of #3A5795

#3A5795
(58,87,149)
#4B669E
(75,102,158)
#5C75A7
(92,117,167)
#6D84B0
(109,132,176)
#7E93B9
(126,147,185)
#8FA2C2
(143,162,194)
#A0B1CB
(160,177,203)
#B1C0D4
(177,192,212)
#C2CFDD
(194,207,221)
#D3DEE6
(211,222,230)
#E4EDEF
(228,237,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #3A5795; }

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

This text font color is #3A5795.


Background Color

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

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

This div background color is #3A5795.


Border color

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

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

This div border color is #3A5795.


Opacity

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

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

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

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

This text has shadow with #3A5795 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A5795 on black background.


Color preview on white background

This text has color #3A5795 on white background.



Black color preview on #3A5795 background

This text has black color on #3A5795 background.


White color preview on #3A5795 background

This text has white color on #3A5795 background.