COLOR #3B31A5

HEX: #3B31A5
RGB: (59,49,165)

Color info

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

RGB color model

#3B31A5 color RGB value is (59,49,165).

  • red value is 59;
  • green value is 49;
  • blue value is 165.
RGB:
(59,49,165)
(23%,19%,65%)

RGB channels and saturation

R 59 of 255 = 23%
G 49 of 255 = 19%
B 165 of 255 = 65%

59
49
165

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

Portions of RGB colors in percentages

R + G + B =
59 + 49 + 165 = 273 (100%)
R 59 of 273 ~ 21.61%
G 49 of 273 ~ 17.95%
B 165 of 273 ~ 60.44%

%21.61
%17.95
%60.44

CMYK color model

#3B31A5 color CMYK value is (64,70,0,35).

  • cyan value is 64.24%
  • magenta value is 70.30%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(64,70,0,35)
C64M70Y0K35 
(64%,70%,0%,35%)
(0.64/0.70/0.00/0.35)	

CMYK percentages

%64.24
%70.3
%0
%35.29

Codes

Color #3B31A5 in popluar color models

3B31A5
RGB5949165
HSL245°54.21%41.96%
HSB/HSV245°70.30%64.71%
CMYK64.24%70.30%0.00%
35.29%

Color #3B31A5 in popluar number systems.

HEX3B31A5
Decimal5949165
Binary11101111000110100101
Octal7361245

Shades and tints

Shades of #3B31A5

#3B31A5
(59,49,165)
#362D96
(54,45,150)
#312987
(49,41,135)
#2C2578
(44,37,120)
#272169
(39,33,105)
#221D5A
(34,29,90)
#1D194B
(29,25,75)
#18153C
(24,21,60)
#13112D
(19,17,45)
#0E0D1E
(14,13,30)
#09090F
(9,9,15)
#000000
(0,0,0)

Tints of #3B31A5

#3B31A5
(59,49,165)
#4C43AD
(76,67,173)
#5D55B5
(93,85,181)
#6E67BD
(110,103,189)
#7F79C5
(127,121,197)
#908BCD
(144,139,205)
#A19DD5
(161,157,213)
#B2AFDD
(178,175,221)
#C3C1E5
(195,193,229)
#D4D3ED
(212,211,237)
#E5E5F5
(229,229,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #3B31A5 color. Also use rgb(59,49,165) instead hex code.

Text Font Color

.myTextColor { color: #3B31A5; }

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

This text font color is #3B31A5.


Background Color

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

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

This div background color is #3B31A5.


Border color

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

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

This div border color is #3B31A5.


Opacity

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

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

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

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

This text has shadow with #3B31A5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3B31A5 on black background.


Color preview on white background

This text has color #3B31A5 on white background.



Black color preview on #3B31A5 background

This text has black color on #3B31A5 background.


White color preview on #3B31A5 background

This text has white color on #3B31A5 background.