COLOR #40557B

HEX: #40557B RGB: (64,85,123)

Color info

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

RGB color model

#40557B color RGB value is (64,85,123).

RGB: (64,85,123) (25%, 33%, 48%)

RGB channels and saturation

R 64 of 255 = 25%
G 85 of 255 = 33%
B 123 of 255 = 48%

64
85
123

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

Portions of RGB colors in percentages

R + G + B = 64 + 85 + 123 = 272 (100%)
R 64 of 272 ~ 23.53%
G 85 of 272 ~ 31.25%
B 123 of 272 ~ 45.22'%

%23.53
%31.25
%45.22

CMYK color model

#40557B color CMYK value is (48,31,0,52).

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

CMYK: (48,31,0,52)
C48M31Y0K52 (48%, 31%, 0%, 52%)
(0.48 / 0.31 / 0.00 / 0.52)

CMYK percentages

%47.97
%30.89
%0
%51.76

Codes

Color #40557B in popluar color models

40 55 7B
RGB 64 85 123
HSL 219° 31.55% 36.67%
HSB/HSV 219° 47.97% 48.24%
CMYK 47.97% 30.89% 0.00%
51.76%

Color #40557B in popluar number systems.

HEX 40 55 7B
Decimal 64 85 123
Binary 1000000 1010101 1111011
Octal 100 125 173

Shades and tints

Shades of #40557B

#40557B
(64,85,123)
#3B4E70
(59,78,112)
#364765
(54,71,101)
#31405A
(49,64,90)
#2C394F
(44,57,79)
#273244
(39,50,68)
#222B39
(34,43,57)
#1D242E
(29,36,46)
#181D23
(24,29,35)
#131618
(19,22,24)
#0E0F0D
(14,15,13)
#000000
(0,0,0)

Tints of #40557B

#40557B
(64,85,123)
#516487
(81,100,135)
#627393
(98,115,147)
#73829F
(115,130,159)
#8491AB
(132,145,171)
#95A0B7
(149,160,183)
#A6AFC3
(166,175,195)
#B7BECF
(183,190,207)
#C8CDDB
(200,205,219)
#D9DCE7
(217,220,231)
#EAEBF3
(234,235,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40557B; }

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

This text font color is #40557B.

Background Color

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

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

This div background color is #40557B.

Border color

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

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

This div border color is #40557B.

Opacity

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

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

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

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

This text has shadow with #40557B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40557B.

Preview

Color preview on black background

This text has color #40557B on black background.


Color preview on white background

This text has color #40557B on white background.


Black color preview on #40557B background

This text has black color on #40557B background.


White color preview on #40557B background

This text has white color on #40557B background.


Related colors

Complementary color

Complementary color for #hex is #BFAA84.


I love getcolorcode.com

Triadic colors

1 #7B4055 and #557B40 with #40557B are triadic colors.

2 #7B5540 and #55407B with #40557B are triadic colors.