COLOR #340874

HEX: #340874 RGB: (52,8,116)

Color info

#340874 contains mainly blue color. Web safe color of #340874 is #330066 (or #306).

RGB color model

#340874 color RGB value is (52,8,116).

RGB: (52,8,116) (20%, 3%, 45%)

RGB channels and saturation

R 52 of 255 = 20%
G 8 of 255 = 3%
B 116 of 255 = 45%

52
8
116

R + G + B ~ 23%. #340874 is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 8 + 116 = 176 (100%)
R 52 of 176 ~ 29.55%
G 8 of 176 ~ 4.55%
B 116 of 176 ~ 65.91'%

%29.55
%65.91

CMYK color model

#340874 color CMYK value is (55,93,0,55).

  • cyan value is 55.17%
  • magenta value is 93.10%
  • yellow value is 0.00%
  • key color value is 54.51%

CMYK: (55,93,0,55)
C55M93Y0K55 (55%, 93%, 0%, 55%)
(0.55 / 0.93 / 0.00 / 0.55)

CMYK percentages

%55.17
%93.1
%0
%54.51

Codes

Color #340874 in popluar color models

34 08 74
RGB 52 8 116
HSL 264° 87.10% 24.31%
HSB/HSV 264° 93.10% 45.49%
CMYK 55.17% 93.10% 0.00%
54.51%

Color #340874 in popluar number systems.

HEX 34 08 74
Decimal 52 8 116
Binary 110100 1000 1110100
Octal 64 10 164

Shades and tints

Shades of #340874

#340874
(52,8,116)
#30086A
(48,8,106)
#2C0860
(44,8,96)
#280856
(40,8,86)
#24084C
(36,8,76)
#200842
(32,8,66)
#1C0838
(28,8,56)
#18082E
(24,8,46)
#140824
(20,8,36)
#10081A
(16,8,26)
#0C0810
(12,8,16)
#000000
(0,0,0)

Tints of #340874

#340874
(52,8,116)
#461E80
(70,30,128)
#58348C
(88,52,140)
#6A4A98
(106,74,152)
#7C60A4
(124,96,164)
#8E76B0
(142,118,176)
#A08CBC
(160,140,188)
#B2A2C8
(178,162,200)
#C4B8D4
(196,184,212)
#D6CEE0
(214,206,224)
#E8E4EC
(232,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340874 color. Also use rgb(52,8,116) instead hex code.

Text Font Color

.myTextColor { color: #340874; }

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

This text font color is #340874.

Background Color

.myBgColor { background-color: #340874; }

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

This div background color is #340874.

Border color

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

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

This div border color is #340874.

Opacity

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

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

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

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

This text has shadow with #340874 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #340874.

Preview

Color preview on black background

This text has color #340874 on black background.


Color preview on white background

This text has color #340874 on white background.


Black color preview on #340874 background

This text has black color on #340874 background.


White color preview on #340874 background

This text has white color on #340874 background.


Related colors

Complementary color

Complementary color for #hex is #CBF78B.


I love getcolorcode.com

Triadic colors

1 #743408 and #087434 with #340874 are triadic colors.

2 #740834 and #083474 with #340874 are triadic colors.