COLOR #40517B

HEX: #40517B RGB: (64,81,123)

Color info

#40517B contains red, green and blue colors in about the same proportion. Web safe color of #40517B is #336666 (or #366).

RGB color model

#40517B color RGB value is (64,81,123).

RGB: (64,81,123) (25%, 32%, 48%)

RGB channels and saturation

R 64 of 255 = 25%
G 81 of 255 = 32%
B 123 of 255 = 48%

64
81
123

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

Portions of RGB colors in percentages

R + G + B = 64 + 81 + 123 = 268 (100%)
R 64 of 268 ~ 23.88%
G 81 of 268 ~ 30.22%
B 123 of 268 ~ 45.9'%

%23.88
%30.22
%45.9

CMYK color model

#40517B color CMYK value is (48,34,0,52).

  • cyan value is 47.97%
  • magenta value is 34.15%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (48,34,0,52)
C48M34Y0K52 (48%, 34%, 0%, 52%)
(0.48 / 0.34 / 0.00 / 0.52)

CMYK percentages

%47.97
%34.15
%0
%51.76

Codes

Color #40517B in popluar color models

40 51 7B
RGB 64 81 123
HSL 223° 31.55% 36.67%
HSB/HSV 223° 47.97% 48.24%
CMYK 47.97% 34.15% 0.00%
51.76%

Color #40517B in popluar number systems.

HEX 40 51 7B
Decimal 64 81 123
Binary 1000000 1010001 1111011
Octal 100 121 173

Shades and tints

Shades of #40517B

#40517B
(64,81,123)
#3B4A70
(59,74,112)
#364365
(54,67,101)
#313C5A
(49,60,90)
#2C354F
(44,53,79)
#272E44
(39,46,68)
#222739
(34,39,57)
#1D202E
(29,32,46)
#181923
(24,25,35)
#131218
(19,18,24)
#0E0B0D
(14,11,13)
#000000
(0,0,0)

Tints of #40517B

#40517B
(64,81,123)
#516087
(81,96,135)
#626F93
(98,111,147)
#737E9F
(115,126,159)
#848DAB
(132,141,171)
#959CB7
(149,156,183)
#A6ABC3
(166,171,195)
#B7BACF
(183,186,207)
#C8C9DB
(200,201,219)
#D9D8E7
(217,216,231)
#EAE7F3
(234,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40517B color. Also use rgb(64,81,123) instead hex code.

Text Font Color

.myTextColor { color: #40517B; }

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

This text font color is #40517B.

Background Color

.myBgColor { background-color: #40517B; }

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

This div background color is #40517B.

Border color

.myBorderColor { border: 1px solid #40517B; }

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

This div border color is #40517B.

Opacity

.myOpacity80 { color: #40517B; opacity: 0.8; }

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

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

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

This text has shadow with #40517B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40517B.

Preview

Color preview on black background

This text has color #40517B on black background.


Color preview on white background

This text has color #40517B on white background.


Black color preview on #40517B background

This text has black color on #40517B background.


White color preview on #40517B background

This text has white color on #40517B background.


Related colors

Complementary color

Complementary color for #hex is #BFAE84.


I love getcolorcode.com

Triadic colors

1 #7B4051 and #517B40 with #40517B are triadic colors.

2 #7B5140 and #51407B with #40517B are triadic colors.