COLOR #403987

HEX: #403987
RGB: (64,57,135)

Color info

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

RGB color model

#403987 color RGB value is (64,57,135).

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

RGB channels and saturation

R 64 of 255 = 25%
G 57 of 255 = 22%
B 135 of 255 = 53%

64
57
135

R + G + B ~ 33%. #403987 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 57 + 135 = 256 (100%)
R 64 of 256 ~ 25%
G 57 of 256 ~ 22.27%
B 135 of 256 ~ 52.73%

%25
%22.27
%52.73

CMYK color model

#403987 color CMYK value is (53,58,0,47).

  • cyan value is 52.59%
  • magenta value is 57.78%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(53,58,0,47)
C53M58Y0K47 
(53%,58%,0%,47%)
(0.53/0.58/0.00/0.47)	

CMYK percentages

%52.59
%57.78
%0
%47.06

Codes

Color #403987 in popluar color models

403987
RGB6457135
HSL245°40.63%37.65%
HSB/HSV245°57.78%52.94%
CMYK52.59%57.78%0.00%
47.06%

Color #403987 in popluar number systems.

HEX403987
Decimal6457135
Binary100000011100110000111
Octal10071207

Shades and tints

Shades of #403987

#403987
(64,57,135)
#3B347B
(59,52,123)
#362F6F
(54,47,111)
#312A63
(49,42,99)
#2C2557
(44,37,87)
#27204B
(39,32,75)
#221B3F
(34,27,63)
#1D1633
(29,22,51)
#181127
(24,17,39)
#130C1B
(19,12,27)
#0E070F
(14,7,15)
#000000
(0,0,0)

Tints of #403987

#403987
(64,57,135)
#514B91
(81,75,145)
#625D9B
(98,93,155)
#736FA5
(115,111,165)
#8481AF
(132,129,175)
#9593B9
(149,147,185)
#A6A5C3
(166,165,195)
#B7B7CD
(183,183,205)
#C8C9D7
(200,201,215)
#D9DBE1
(217,219,225)
#EAEDEB
(234,237,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #403987; }

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

This text font color is #403987.


Background Color

.myBgColor { background-color: #403987; }

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

This div background color is #403987.


Border color

.myBorderColor { border: 1px solid #403987; }

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

This div border color is #403987.


Opacity

.myOpacity80 { color: #403987; opacity: 0.8; }

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

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

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

This text has shadow with #403987 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #403987 on black background.


Color preview on white background

This text has color #403987 on white background.



Black color preview on #403987 background

This text has black color on #403987 background.


White color preview on #403987 background

This text has white color on #403987 background.