COLOR #40296B

HEX: #40296B RGB: (64,41,107)

Color info

#40296B contains mainly red and blue colors. Web safe color of #40296B is #333366 (or #336).

RGB color model

#40296B color RGB value is (64,41,107).

RGB: (64,41,107) (25%, 16%, 42%)

RGB channels and saturation

R 64 of 255 = 25%
G 41 of 255 = 16%
B 107 of 255 = 42%

64
41
107

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

Portions of RGB colors in percentages

R + G + B = 64 + 41 + 107 = 212 (100%)
R 64 of 212 ~ 30.19%
G 41 of 212 ~ 19.34%
B 107 of 212 ~ 50.47'%

%30.19
%19.34
%50.47

CMYK color model

#40296B color CMYK value is (40,62,0,58).

  • cyan value is 40.19%
  • magenta value is 61.68%
  • yellow value is 0.00%
  • key color value is 58.04%

CMYK: (40,62,0,58)
C40M62Y0K58 (40%, 62%, 0%, 58%)
(0.40 / 0.62 / 0.00 / 0.58)

CMYK percentages

%40.19
%61.68
%0
%58.04

Codes

Color #40296B in popluar color models

40 29 6B
RGB 64 41 107
HSL 261° 44.59% 29.02%
HSB/HSV 261° 61.68% 41.96%
CMYK 40.19% 61.68% 0.00%
58.04%

Color #40296B in popluar number systems.

HEX 40 29 6B
Decimal 64 41 107
Binary 1000000 101001 1101011
Octal 100 51 153

Shades and tints

Shades of #40296B

#40296B
(64,41,107)
#3B2662
(59,38,98)
#362359
(54,35,89)
#312050
(49,32,80)
#2C1D47
(44,29,71)
#271A3E
(39,26,62)
#221735
(34,23,53)
#1D142C
(29,20,44)
#181123
(24,17,35)
#130E1A
(19,14,26)
#0E0B11
(14,11,17)
#000000
(0,0,0)

Tints of #40296B

#40296B
(64,41,107)
#513C78
(81,60,120)
#624F85
(98,79,133)
#736292
(115,98,146)
#84759F
(132,117,159)
#9588AC
(149,136,172)
#A69BB9
(166,155,185)
#B7AEC6
(183,174,198)
#C8C1D3
(200,193,211)
#D9D4E0
(217,212,224)
#EAE7ED
(234,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40296B; }

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

This text font color is #40296B.

Background Color

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

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

This div background color is #40296B.

Border color

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

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

This div border color is #40296B.

Opacity

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

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

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

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

This text has shadow with #40296B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40296B.

Preview

Color preview on black background

This text has color #40296B on black background.


Color preview on white background

This text has color #40296B on white background.


Black color preview on #40296B background

This text has black color on #40296B background.


White color preview on #40296B background

This text has white color on #40296B background.


Related colors

Complementary color

Complementary color for #hex is #BFD694.


I love getcolorcode.com

Triadic colors

1 #6B4029 and #296B40 with #40296B are triadic colors.

2 #6B2940 and #29406B with #40296B are triadic colors.