COLOR #40457C

HEX: #40457C RGB: (64,69,124)

Color info

#40457C contains mainly green and blue colors. Web safe color of #40457C is #333366 (or #336).

RGB color model

#40457C color RGB value is (64,69,124).

RGB: (64,69,124) (25%, 27%, 49%)

RGB channels and saturation

R 64 of 255 = 25%
G 69 of 255 = 27%
B 124 of 255 = 49%

64
69
124

R + G + B ~ 34%. #40457C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 69 + 124 = 257 (100%)
R 64 of 257 ~ 24.9%
G 69 of 257 ~ 26.85%
B 124 of 257 ~ 48.25'%

%24.9
%26.85
%48.25

CMYK color model

#40457C color CMYK value is (48,44,0,51).

  • cyan value is 48.39%
  • magenta value is 44.35%
  • yellow value is 0.00%
  • key color value is 51.37%

CMYK: (48,44,0,51)
C48M44Y0K51 (48%, 44%, 0%, 51%)
(0.48 / 0.44 / 0.00 / 0.51)

CMYK percentages

%48.39
%44.35
%0
%51.37

Codes

Color #40457C in popluar color models

40 45 7C
RGB 64 69 124
HSL 235° 31.91% 36.86%
HSB/HSV 235° 48.39% 48.63%
CMYK 48.39% 44.35% 0.00%
51.37%

Color #40457C in popluar number systems.

HEX 40 45 7C
Decimal 64 69 124
Binary 1000000 1000101 1111100
Octal 100 105 174

Shades and tints

Shades of #40457C

#40457C
(64,69,124)
#3B3F71
(59,63,113)
#363966
(54,57,102)
#31335B
(49,51,91)
#2C2D50
(44,45,80)
#272745
(39,39,69)
#22213A
(34,33,58)
#1D1B2F
(29,27,47)
#181524
(24,21,36)
#130F19
(19,15,25)
#0E090E
(14,9,14)
#000000
(0,0,0)

Tints of #40457C

#40457C
(64,69,124)
#515587
(81,85,135)
#626592
(98,101,146)
#73759D
(115,117,157)
#8485A8
(132,133,168)
#9595B3
(149,149,179)
#A6A5BE
(166,165,190)
#B7B5C9
(183,181,201)
#C8C5D4
(200,197,212)
#D9D5DF
(217,213,223)
#EAE5EA
(234,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40457C color. Also use rgb(64,69,124) instead hex code.

Text Font Color

.myTextColor { color: #40457C; }

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

This text font color is #40457C.

Background Color

.myBgColor { background-color: #40457C; }

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

This div background color is #40457C.

Border color

.myBorderColor { border: 1px solid #40457C; }

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

This div border color is #40457C.

Opacity

.myOpacity80 { color: #40457C; opacity: 0.8; }

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

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

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

This text has shadow with #40457C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40457C.

Preview

Color preview on black background

This text has color #40457C on black background.


Color preview on white background

This text has color #40457C on white background.


Black color preview on #40457C background

This text has black color on #40457C background.


White color preview on #40457C background

This text has white color on #40457C background.


Related colors

Complementary color

Complementary color for #hex is #BFBA83.


I love getcolorcode.com

Triadic colors

1 #7C4045 and #457C40 with #40457C are triadic colors.

2 #7C4540 and #45407C with #40457C are triadic colors.