COLOR #40277B

HEX: #40277B RGB: (64,39,123)

Color info

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

RGB color model

#40277B color RGB value is (64,39,123).

RGB: (64,39,123) (25%, 15%, 48%)

RGB channels and saturation

R 64 of 255 = 25%
G 39 of 255 = 15%
B 123 of 255 = 48%

64
39
123

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

Portions of RGB colors in percentages

R + G + B = 64 + 39 + 123 = 226 (100%)
R 64 of 226 ~ 28.32%
G 39 of 226 ~ 17.26%
B 123 of 226 ~ 54.42'%

%28.32
%17.26
%54.42

CMYK color model

#40277B color CMYK value is (48,68,0,52).

  • cyan value is 47.97%
  • magenta value is 68.29%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (48,68,0,52)
C48M68Y0K52 (48%, 68%, 0%, 52%)
(0.48 / 0.68 / 0.00 / 0.52)

CMYK percentages

%47.97
%68.29
%0
%51.76

Codes

Color #40277B in popluar color models

40 27 7B
RGB 64 39 123
HSL 258° 51.85% 31.76%
HSB/HSV 258° 68.29% 48.24%
CMYK 47.97% 68.29% 0.00%
51.76%

Color #40277B in popluar number systems.

HEX 40 27 7B
Decimal 64 39 123
Binary 1000000 100111 1111011
Octal 100 47 173

Shades and tints

Shades of #40277B

#40277B
(64,39,123)
#3B2470
(59,36,112)
#362165
(54,33,101)
#311E5A
(49,30,90)
#2C1B4F
(44,27,79)
#271844
(39,24,68)
#221539
(34,21,57)
#1D122E
(29,18,46)
#180F23
(24,15,35)
#130C18
(19,12,24)
#0E090D
(14,9,13)
#000000
(0,0,0)

Tints of #40277B

#40277B
(64,39,123)
#513A87
(81,58,135)
#624D93
(98,77,147)
#73609F
(115,96,159)
#8473AB
(132,115,171)
#9586B7
(149,134,183)
#A699C3
(166,153,195)
#B7ACCF
(183,172,207)
#C8BFDB
(200,191,219)
#D9D2E7
(217,210,231)
#EAE5F3
(234,229,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40277B color. Also use rgb(64,39,123) instead hex code.

Text Font Color

.myTextColor { color: #40277B; }

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

This text font color is #40277B.

Background Color

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

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

This div background color is #40277B.

Border color

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

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

This div border color is #40277B.

Opacity

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

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

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

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

This text has shadow with #40277B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40277B.

Preview

Color preview on black background

This text has color #40277B on black background.


Color preview on white background

This text has color #40277B on white background.


Black color preview on #40277B background

This text has black color on #40277B background.


White color preview on #40277B background

This text has white color on #40277B background.


Related colors

Complementary color

Complementary color for #hex is #BFD884.


I love getcolorcode.com

Triadic colors

1 #7B4027 and #277B40 with #40277B are triadic colors.

2 #7B2740 and #27407B with #40277B are triadic colors.