COLOR #40509F

HEX: #40509F RGB: (64,80,159)

Color info

#40509F contains mainly blue color. Web safe color of #40509F is #336699 (or #369).

RGB color model

#40509F color RGB value is (64,80,159).

RGB: (64,80,159) (25%, 31%, 62%)

RGB channels and saturation

R 64 of 255 = 25%
G 80 of 255 = 31%
B 159 of 255 = 62%

64
80
159

R + G + B ~ 39%. #40509F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 80 + 159 = 303 (100%)
R 64 of 303 ~ 21.12%
G 80 of 303 ~ 26.4%
B 159 of 303 ~ 52.48'%

%21.12
%26.4
%52.48

CMYK color model

#40509F color CMYK value is (60,50,0,38).

  • cyan value is 59.75%
  • magenta value is 49.69%
  • yellow value is 0.00%
  • key color value is 37.65%

CMYK: (60,50,0,38)
C60M50Y0K38 (60%, 50%, 0%, 38%)
(0.60 / 0.50 / 0.00 / 0.38)

CMYK percentages

%59.75
%49.69
%0
%37.65

Codes

Color #40509F in popluar color models

40 50 9F
RGB 64 80 159
HSL 230° 42.60% 43.73%
HSB/HSV 230° 59.75% 62.35%
CMYK 59.75% 49.69% 0.00%
37.65%

Color #40509F in popluar number systems.

HEX 40 50 9F
Decimal 64 80 159
Binary 1000000 1010000 10011111
Octal 100 120 237

Shades and tints

Shades of #40509F

#40509F
(64,80,159)
#3B4991
(59,73,145)
#364283
(54,66,131)
#313B75
(49,59,117)
#2C3467
(44,52,103)
#272D59
(39,45,89)
#22264B
(34,38,75)
#1D1F3D
(29,31,61)
#18182F
(24,24,47)
#131121
(19,17,33)
#0E0A13
(14,10,19)
#000000
(0,0,0)

Tints of #40509F

#40509F
(64,80,159)
#515FA7
(81,95,167)
#626EAF
(98,110,175)
#737DB7
(115,125,183)
#848CBF
(132,140,191)
#959BC7
(149,155,199)
#A6AACF
(166,170,207)
#B7B9D7
(183,185,215)
#C8C8DF
(200,200,223)
#D9D7E7
(217,215,231)
#EAE6EF
(234,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40509F color. Also use rgb(64,80,159) instead hex code.

Text Font Color

.myTextColor { color: #40509F; }

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

This text font color is #40509F.

Background Color

.myBgColor { background-color: #40509F; }

<div style="background-color:#40509F">Inner text</div>

This div background color is #40509F.

Border color

.myBorderColor { border: 1px solid #40509F; }

<div style="border:3px solid #40509F">Div</div>

This div border color is #40509F.

Opacity

.myOpacity80 { color: #40509F; opacity: 0.8; }

<p style="color:#40509F;opacity:0.8;">80%</p>

Text with #40509F 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 #40509F;}

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

This text has shadow with #40509F color.


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

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

This text has shadow with #40509F primary color and red secondary color.


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

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

This text has shadow with #40509F and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #40509F.

Preview

Color preview on black background

This text has color #40509F on black background.


Color preview on white background

This text has color #40509F on white background.


Black color preview on #40509F background

This text has black color on #40509F background.


White color preview on #40509F background

This text has white color on #40509F background.


Related colors

Complementary color

Complementary color for #hex is #BFAF60.


I love getcolorcode.com

Triadic colors

1 #9F4050 and #509F40 with #40509F are triadic colors.

2 #9F5040 and #50409F with #40509F are triadic colors.