COLOR #40194D

HEX: #40194D RGB: (64,25,77)

Color info

#40194D contains red, green and blue colors in about the same proportion. Web safe color of #40194D is #330033 (or #303).

RGB color model

#40194D color RGB value is (64,25,77).

RGB: (64,25,77) (25%, 10%, 30%)

RGB channels and saturation

R 64 of 255 = 25%
G 25 of 255 = 10%
B 77 of 255 = 30%

64
25
77

R + G + B ~ 22%. #40194D is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 25 + 77 = 166 (100%)
R 64 of 166 ~ 38.55%
G 25 of 166 ~ 15.06%
B 77 of 166 ~ 46.39'%

%38.55
%15.06
%46.39

CMYK color model

#40194D color CMYK value is (17,68,0,70).

  • cyan value is 16.88%
  • magenta value is 67.53%
  • yellow value is 0.00%
  • key color value is 69.80%

CMYK: (17,68,0,70)
C17M68Y0K70 (17%, 68%, 0%, 70%)
(0.17 / 0.68 / 0.00 / 0.70)

CMYK percentages

%16.88
%67.53
%0
%69.8

Codes

Color #40194D in popluar color models

40 19 4D
RGB 64 25 77
HSL 285° 50.98% 20.00%
HSB/HSV 285° 67.53% 30.20%
CMYK 16.88% 67.53% 0.00%
69.80%

Color #40194D in popluar number systems.

HEX 40 19 4D
Decimal 64 25 77
Binary 1000000 11001 1001101
Octal 100 31 115

Shades and tints

Shades of #40194D

#40194D
(64,25,77)
#3B1746
(59,23,70)
#36153F
(54,21,63)
#311338
(49,19,56)
#2C1131
(44,17,49)
#270F2A
(39,15,42)
#220D23
(34,13,35)
#1D0B1C
(29,11,28)
#180915
(24,9,21)
#13070E
(19,7,14)
#0E0507
(14,5,7)
#000000
(0,0,0)

Tints of #40194D

#40194D
(64,25,77)
#512D5D
(81,45,93)
#62416D
(98,65,109)
#73557D
(115,85,125)
#84698D
(132,105,141)
#957D9D
(149,125,157)
#A691AD
(166,145,173)
#B7A5BD
(183,165,189)
#C8B9CD
(200,185,205)
#D9CDDD
(217,205,221)
#EAE1ED
(234,225,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40194D color. Also use rgb(64,25,77) instead hex code.

Text Font Color

.myTextColor { color: #40194D; }

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

This text font color is #40194D.

Background Color

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

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

This div background color is #40194D.

Border color

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

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

This div border color is #40194D.

Opacity

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

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

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

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

This text has shadow with #40194D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40194D.

Preview

Color preview on black background

This text has color #40194D on black background.


Color preview on white background

This text has color #40194D on white background.


Black color preview on #40194D background

This text has black color on #40194D background.


White color preview on #40194D background

This text has white color on #40194D background.


Related colors

Complementary color

Complementary color for #hex is #BFE6B2.


I love getcolorcode.com

Triadic colors

1 #4D4019 and #194D40 with #40194D are triadic colors.

2 #4D1940 and #19404D with #40194D are triadic colors.