COLOR #40385D

HEX: #40385D
RGB: (64,56,93)

Color info

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

RGB color model

#40385D color RGB value is (64,56,93).

  • red value is 64;
  • green value is 56;
  • blue value is 93.
RGB:
(64,56,93)
(25%,22%,36%)

RGB channels and saturation

R 64 of 255 = 25%
G 56 of 255 = 22%
B 93 of 255 = 36%

64
56
93

R + G + B ~ 28%. #40385D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 56 + 93 = 213 (100%)
R 64 of 213 ~ 30.05%
G 56 of 213 ~ 26.29%
B 93 of 213 ~ 43.66%

%30.05
%26.29
%43.66

CMYK color model

#40385D color CMYK value is (31,40,0,64).

  • cyan value is 31.18%
  • magenta value is 39.78%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(31,40,0,64)
C31M40Y0K64 
(31%,40%,0%,64%)
(0.31/0.40/0.00/0.64)	

CMYK percentages

%31.18
%39.78
%0
%63.53

Codes

Color #40385D in popluar color models

40385D
RGB645693
HSL253°24.83%29.22%
HSB/HSV253°39.78%36.47%
CMYK31.18%39.78%0.00%
63.53%

Color #40385D in popluar number systems.

HEX40385D
Decimal645693
Binary10000001110001011101
Octal10070135

Shades and tints

Shades of #40385D

#40385D
(64,56,93)
#3B3355
(59,51,85)
#362E4D
(54,46,77)
#312945
(49,41,69)
#2C243D
(44,36,61)
#271F35
(39,31,53)
#221A2D
(34,26,45)
#1D1525
(29,21,37)
#18101D
(24,16,29)
#130B15
(19,11,21)
#0E060D
(14,6,13)
#000000
(0,0,0)

Tints of #40385D

#40385D
(64,56,93)
#514A6B
(81,74,107)
#625C79
(98,92,121)
#736E87
(115,110,135)
#848095
(132,128,149)
#9592A3
(149,146,163)
#A6A4B1
(166,164,177)
#B7B6BF
(183,182,191)
#C8C8CD
(200,200,205)
#D9DADB
(217,218,219)
#EAECE9
(234,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40385D color. Also use rgb(64,56,93) instead hex code.

Text Font Color

.myTextColor { color: #40385D; }

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

This text font color is #40385D.


Background Color

.myBgColor { background-color: #40385D; }

<div style="background-color:#40385D">Inner text</div>

This div background color is #40385D.


Border color

.myBorderColor { border: 1px solid #40385D; }

<div style="border:3px solid #40385D">Div</div>

This div border color is #40385D.


Opacity

.myOpacity80 { color: #40385D; opacity: 0.8; }

<p style="color:#40385D;opacity:0.8;">80%</p>

Text with #40385D 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 #40385D;}

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

This text has shadow with #40385D color.

.textShadow {text-shadow: 3px 3px 1px #40385D, 3px 3px 1px red;}

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

This text has shadow with #40385D primary color and red secondary color.


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

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

This text has shadow with #40385D and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40385D on black background.


Color preview on white background

This text has color #40385D on white background.



Black color preview on #40385D background

This text has black color on #40385D background.


White color preview on #40385D background

This text has white color on #40385D background.