COLOR #403E74

HEX: #403E74
RGB: (64,62,116)

Color info

#403E74 contains red, green and blue colors in about the same proportion. Web safe color of #403E74 is #333366 (or #336).

RGB color model

#403E74 color RGB value is (64,62,116).

  • red value is 64;
  • green value is 62;
  • blue value is 116.
RGB:
(64,62,116)
(25%,24%,45%)

RGB channels and saturation

R 64 of 255 = 25%
G 62 of 255 = 24%
B 116 of 255 = 45%

64
62
116

R + G + B ~ 31%. #403E74 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 62 + 116 = 242 (100%)
R 64 of 242 ~ 26.45%
G 62 of 242 ~ 25.62%
B 116 of 242 ~ 47.93%

%26.45
%25.62
%47.93

CMYK color model

#403E74 color CMYK value is (45,47,0,55).

  • cyan value is 44.83%
  • magenta value is 46.55%
  • yellow value is 0.00%
  • key color value is 54.51%
CMYK:
(45,47,0,55)
C45M47Y0K55 
(45%,47%,0%,55%)
(0.45/0.47/0.00/0.55)	

CMYK percentages

%44.83
%46.55
%0
%54.51

Codes

Color #403E74 in popluar color models

403E74
RGB6462116
HSL242°30.34%34.90%
HSB/HSV242°46.55%45.49%
CMYK44.83%46.55%0.00%
54.51%

Color #403E74 in popluar number systems.

HEX403E74
Decimal6462116
Binary10000001111101110100
Octal10076164

Shades and tints

Shades of #403E74

#403E74
(64,62,116)
#3B396A
(59,57,106)
#363460
(54,52,96)
#312F56
(49,47,86)
#2C2A4C
(44,42,76)
#272542
(39,37,66)
#222038
(34,32,56)
#1D1B2E
(29,27,46)
#181624
(24,22,36)
#13111A
(19,17,26)
#0E0C10
(14,12,16)
#000000
(0,0,0)

Tints of #403E74

#403E74
(64,62,116)
#514F80
(81,79,128)
#62608C
(98,96,140)
#737198
(115,113,152)
#8482A4
(132,130,164)
#9593B0
(149,147,176)
#A6A4BC
(166,164,188)
#B7B5C8
(183,181,200)
#C8C6D4
(200,198,212)
#D9D7E0
(217,215,224)
#EAE8EC
(234,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #403E74 color. Also use rgb(64,62,116) instead hex code.

Text Font Color

.myTextColor { color: #403E74; }

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

This text font color is #403E74.


Background Color

.myBgColor { background-color: #403E74; }

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

This div background color is #403E74.


Border color

.myBorderColor { border: 1px solid #403E74; }

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

This div border color is #403E74.


Opacity

.myOpacity80 { color: #403E74; opacity: 0.8; }

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

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

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

This text has shadow with #403E74 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #403E74 on black background.


Color preview on white background

This text has color #403E74 on white background.



Black color preview on #403E74 background

This text has black color on #403E74 background.


White color preview on #403E74 background

This text has white color on #403E74 background.