COLOR #040974

HEX: #040974 RGB: (4,9,116)

Color info

#040974 contains mainly blue color. Web safe color of #040974 is #000066 (or #006).

RGB color model

#040974 color RGB value is (4,9,116).

RGB: (4,9,116) (2%, 4%, 45%)

RGB channels and saturation

R 4 of 255 = 2%
G 9 of 255 = 4%
B 116 of 255 = 45%

4
9
116

R + G + B ~ 17%. #040974 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 9 + 116 = 129 (100%)
R 4 of 129 ~ 3.1%
G 9 of 129 ~ 6.98%
B 116 of 129 ~ 89.92'%

%89.92

CMYK color model

#040974 color CMYK value is (97,92,0,55).

  • cyan value is 96.55%
  • magenta value is 92.24%
  • yellow value is 0.00%
  • key color value is 54.51%

CMYK: (97,92,0,55)
C97M92Y0K55 (97%, 92%, 0%, 55%)
(0.97 / 0.92 / 0.00 / 0.55)

CMYK percentages

%96.55
%92.24
%0
%54.51

Codes

Color #040974 in popluar color models

04 09 74
RGB 4 9 116
HSL 237° 93.33% 23.53%
HSB/HSV 237° 96.55% 45.49%
CMYK 96.55% 92.24% 0.00%
54.51%

Color #040974 in popluar number systems.

HEX 04 09 74
Decimal 4 9 116
Binary 100 1001 1110100
Octal 4 11 164

Shades and tints

Shades of #040974

#040974
(4,9,116)
#04096A
(4,9,106)
#040960
(4,9,96)
#040956
(4,9,86)
#04094C
(4,9,76)
#040942
(4,9,66)
#040938
(4,9,56)
#04092E
(4,9,46)
#040924
(4,9,36)
#04091A
(4,9,26)
#040910
(4,9,16)
#000000
(0,0,0)

Tints of #040974

#040974
(4,9,116)
#1A1F80
(26,31,128)
#30358C
(48,53,140)
#464B98
(70,75,152)
#5C61A4
(92,97,164)
#7277B0
(114,119,176)
#888DBC
(136,141,188)
#9EA3C8
(158,163,200)
#B4B9D4
(180,185,212)
#CACFE0
(202,207,224)
#E0E5EC
(224,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040974 color. Also use rgb(4,9,116) instead hex code.

Text Font Color

.myTextColor { color: #040974; }

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

This text font color is #040974.

Background Color

.myBgColor { background-color: #040974; }

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

This div background color is #040974.

Border color

.myBorderColor { border: 1px solid #040974; }

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

This div border color is #040974.

Opacity

.myOpacity80 { color: #040974; opacity: 0.8; }

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

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

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

This text has shadow with #040974 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040974.

Preview

Color preview on black background

This text has color #040974 on black background.


Color preview on white background

This text has color #040974 on white background.


Black color preview on #040974 background

This text has black color on #040974 background.


White color preview on #040974 background

This text has white color on #040974 background.


Related colors

Complementary color

Complementary color for #hex is #FBF68B.


I love getcolorcode.com

Triadic colors

1 #740409 and #097404 with #040974 are triadic colors.

2 #740904 and #090474 with #040974 are triadic colors.