COLOR #40346B

HEX: #40346B
RGB: (64,52,107)

Color info

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

RGB color model

#40346B color RGB value is (64,52,107).

  • red value is 64;
  • green value is 52;
  • blue value is 107.
RGB:
(64,52,107)
(25%,20%,42%)

RGB channels and saturation

R 64 of 255 = 25%
G 52 of 255 = 20%
B 107 of 255 = 42%

64
52
107

R + G + B ~ 29%. #40346B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 52 + 107 = 223 (100%)
R 64 of 223 ~ 28.7%
G 52 of 223 ~ 23.32%
B 107 of 223 ~ 47.98%

%28.7
%23.32
%47.98

CMYK color model

#40346B color CMYK value is (40,51,0,58).

  • cyan value is 40.19%
  • magenta value is 51.40%
  • yellow value is 0.00%
  • key color value is 58.04%
CMYK:
(40,51,0,58)
C40M51Y0K58 
(40%,51%,0%,58%)
(0.40/0.51/0.00/0.58)	

CMYK percentages

%40.19
%51.4
%0
%58.04

Codes

Color #40346B in popluar color models

40346B
RGB6452107
HSL253°34.59%31.18%
HSB/HSV253°51.40%41.96%
CMYK40.19%51.40%0.00%
58.04%

Color #40346B in popluar number systems.

HEX40346B
Decimal6452107
Binary10000001101001101011
Octal10064153

Shades and tints

Shades of #40346B

#40346B
(64,52,107)
#3B3062
(59,48,98)
#362C59
(54,44,89)
#312850
(49,40,80)
#2C2447
(44,36,71)
#27203E
(39,32,62)
#221C35
(34,28,53)
#1D182C
(29,24,44)
#181423
(24,20,35)
#13101A
(19,16,26)
#0E0C11
(14,12,17)
#000000
(0,0,0)

Tints of #40346B

#40346B
(64,52,107)
#514678
(81,70,120)
#625885
(98,88,133)
#736A92
(115,106,146)
#847C9F
(132,124,159)
#958EAC
(149,142,172)
#A6A0B9
(166,160,185)
#B7B2C6
(183,178,198)
#C8C4D3
(200,196,211)
#D9D6E0
(217,214,224)
#EAE8ED
(234,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40346B color. Also use rgb(64,52,107) instead hex code.

Text Font Color

.myTextColor { color: #40346B; }

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

This text font color is #40346B.


Background Color

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

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

This div background color is #40346B.


Border color

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

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

This div border color is #40346B.


Opacity

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

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

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

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

This text has shadow with #40346B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40346B on black background.


Color preview on white background

This text has color #40346B on white background.



Black color preview on #40346B background

This text has black color on #40346B background.


White color preview on #40346B background

This text has white color on #40346B background.