COLOR #34315B

HEX: #34315B RGB: (52,49,91)

Color info

#34315B contains red, green and blue colors in about the same proportion. Web safe color of #34315B is #333366 (or #336).

RGB color model

#34315B color RGB value is (52,49,91).

RGB: (52,49,91) (20%, 19%, 36%)

RGB channels and saturation

R 52 of 255 = 20%
G 49 of 255 = 19%
B 91 of 255 = 36%

52
49
91

R + G + B ~ 25%. #34315B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 49 + 91 = 192 (100%)
R 52 of 192 ~ 27.08%
G 49 of 192 ~ 25.52%
B 91 of 192 ~ 47.4'%

%27.08
%25.52
%47.4

CMYK color model

#34315B color CMYK value is (43,46,0,64).

  • cyan value is 42.86%
  • magenta value is 46.15%
  • yellow value is 0.00%
  • key color value is 64.31%

CMYK: (43,46,0,64)
C43M46Y0K64 (43%, 46%, 0%, 64%)
(0.43 / 0.46 / 0.00 / 0.64)

CMYK percentages

%42.86
%46.15
%0
%64.31

Codes

Color #34315B in popluar color models

34 31 5B
RGB 52 49 91
HSL 244° 30.00% 27.45%
HSB/HSV 244° 46.15% 35.69%
CMYK 42.86% 46.15% 0.00%
64.31%

Color #34315B in popluar number systems.

HEX 34 31 5B
Decimal 52 49 91
Binary 110100 110001 1011011
Octal 64 61 133

Shades and tints

Shades of #34315B

#34315B
(52,49,91)
#302D53
(48,45,83)
#2C294B
(44,41,75)
#282543
(40,37,67)
#24213B
(36,33,59)
#201D33
(32,29,51)
#1C192B
(28,25,43)
#181523
(24,21,35)
#14111B
(20,17,27)
#100D13
(16,13,19)
#0C090B
(12,9,11)
#000000
(0,0,0)

Tints of #34315B

#34315B
(52,49,91)
#464369
(70,67,105)
#585577
(88,85,119)
#6A6785
(106,103,133)
#7C7993
(124,121,147)
#8E8BA1
(142,139,161)
#A09DAF
(160,157,175)
#B2AFBD
(178,175,189)
#C4C1CB
(196,193,203)
#D6D3D9
(214,211,217)
#E8E5E7
(232,229,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #34315B color. Also use rgb(52,49,91) instead hex code.

Text Font Color

.myTextColor { color: #34315B; }

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

This text font color is #34315B.

Background Color

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

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

This div background color is #34315B.

Border color

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

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

This div border color is #34315B.

Opacity

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

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

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

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

This text has shadow with #34315B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #34315B.

Preview

Color preview on black background

This text has color #34315B on black background.


Color preview on white background

This text has color #34315B on white background.


Black color preview on #34315B background

This text has black color on #34315B background.


White color preview on #34315B background

This text has white color on #34315B background.


Related colors

Complementary color

Complementary color for #hex is #CBCEA4.


I love getcolorcode.com

Triadic colors

1 #5B3431 and #315B34 with #34315B are triadic colors.

2 #5B3134 and #31345B with #34315B are triadic colors.