COLOR #403A8E

HEX: #403A8E RGB: (64,58,142)

Color info

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

RGB color model

#403A8E color RGB value is (64,58,142).

RGB: (64,58,142) (25%, 23%, 56%)

RGB channels and saturation

R 64 of 255 = 25%
G 58 of 255 = 23%
B 142 of 255 = 56%

64
58
142

R + G + B ~ 35%. #403A8E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 58 + 142 = 264 (100%)
R 64 of 264 ~ 24.24%
G 58 of 264 ~ 21.97%
B 142 of 264 ~ 53.79'%

%24.24
%21.97
%53.79

CMYK color model

#403A8E color CMYK value is (55,59,0,44).

  • cyan value is 54.93%
  • magenta value is 59.15%
  • yellow value is 0.00%
  • key color value is 44.31%

CMYK: (55,59,0,44)
C55M59Y0K44 (55%, 59%, 0%, 44%)
(0.55 / 0.59 / 0.00 / 0.44)

CMYK percentages

%54.93
%59.15
%0
%44.31

Codes

Color #403A8E in popluar color models

40 3A 8E
RGB 64 58 142
HSL 244° 42.00% 39.22%
HSB/HSV 244° 59.15% 55.69%
CMYK 54.93% 59.15% 0.00%
44.31%

Color #403A8E in popluar number systems.

HEX 40 3A 8E
Decimal 64 58 142
Binary 1000000 111010 10001110
Octal 100 72 216

Shades and tints

Shades of #403A8E

#403A8E
(64,58,142)
#3B3582
(59,53,130)
#363076
(54,48,118)
#312B6A
(49,43,106)
#2C265E
(44,38,94)
#272152
(39,33,82)
#221C46
(34,28,70)
#1D173A
(29,23,58)
#18122E
(24,18,46)
#130D22
(19,13,34)
#0E0816
(14,8,22)
#000000
(0,0,0)

Tints of #403A8E

#403A8E
(64,58,142)
#514B98
(81,75,152)
#625CA2
(98,92,162)
#736DAC
(115,109,172)
#847EB6
(132,126,182)
#958FC0
(149,143,192)
#A6A0CA
(166,160,202)
#B7B1D4
(183,177,212)
#C8C2DE
(200,194,222)
#D9D3E8
(217,211,232)
#EAE4F2
(234,228,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #403A8E color. Also use rgb(64,58,142) instead hex code.

Text Font Color

.myTextColor { color: #403A8E; }

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

This text font color is #403A8E.

Background Color

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

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

This div background color is #403A8E.

Border color

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

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

This div border color is #403A8E.

Opacity

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

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

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

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

This text has shadow with #403A8E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #403A8E.

Preview

Color preview on black background

This text has color #403A8E on black background.


Color preview on white background

This text has color #403A8E on white background.


Black color preview on #403A8E background

This text has black color on #403A8E background.


White color preview on #403A8E background

This text has white color on #403A8E background.


Related colors

Complementary color

Complementary color for #hex is #BFC571.


I love getcolorcode.com

Triadic colors

1 #8E403A and #3A8E40 with #403A8E are triadic colors.

2 #8E3A40 and #3A408E with #403A8E are triadic colors.