COLOR #342F62

HEX: #342F62 RGB: (52,47,98)

Color info

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

RGB color model

#342F62 color RGB value is (52,47,98).

RGB: (52,47,98) (20%, 18%, 38%)

RGB channels and saturation

R 52 of 255 = 20%
G 47 of 255 = 18%
B 98 of 255 = 38%

52
47
98

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

Portions of RGB colors in percentages

R + G + B = 52 + 47 + 98 = 197 (100%)
R 52 of 197 ~ 26.4%
G 47 of 197 ~ 23.86%
B 98 of 197 ~ 49.75'%

%26.4
%23.86
%49.75

CMYK color model

#342F62 color CMYK value is (47,52,0,62).

  • cyan value is 46.94%
  • magenta value is 52.04%
  • yellow value is 0.00%
  • key color value is 61.57%

CMYK: (47,52,0,62)
C47M52Y0K62 (47%, 52%, 0%, 62%)
(0.47 / 0.52 / 0.00 / 0.62)

CMYK percentages

%46.94
%52.04
%0
%61.57

Codes

Color #342F62 in popluar color models

34 2F 62
RGB 52 47 98
HSL 246° 35.17% 28.43%
HSB/HSV 246° 52.04% 38.43%
CMYK 46.94% 52.04% 0.00%
61.57%

Color #342F62 in popluar number systems.

HEX 34 2F 62
Decimal 52 47 98
Binary 110100 101111 1100010
Octal 64 57 142

Shades and tints

Shades of #342F62

#342F62
(52,47,98)
#302B5A
(48,43,90)
#2C2752
(44,39,82)
#28234A
(40,35,74)
#241F42
(36,31,66)
#201B3A
(32,27,58)
#1C1732
(28,23,50)
#18132A
(24,19,42)
#140F22
(20,15,34)
#100B1A
(16,11,26)
#0C0712
(12,7,18)
#000000
(0,0,0)

Tints of #342F62

#342F62
(52,47,98)
#464170
(70,65,112)
#58537E
(88,83,126)
#6A658C
(106,101,140)
#7C779A
(124,119,154)
#8E89A8
(142,137,168)
#A09BB6
(160,155,182)
#B2ADC4
(178,173,196)
#C4BFD2
(196,191,210)
#D6D1E0
(214,209,224)
#E8E3EE
(232,227,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342F62 color. Also use rgb(52,47,98) instead hex code.

Text Font Color

.myTextColor { color: #342F62; }

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

This text font color is #342F62.

Background Color

.myBgColor { background-color: #342F62; }

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

This div background color is #342F62.

Border color

.myBorderColor { border: 1px solid #342F62; }

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

This div border color is #342F62.

Opacity

.myOpacity80 { color: #342F62; opacity: 0.8; }

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

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

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

This text has shadow with #342F62 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342F62.

Preview

Color preview on black background

This text has color #342F62 on black background.


Color preview on white background

This text has color #342F62 on white background.


Black color preview on #342F62 background

This text has black color on #342F62 background.


White color preview on #342F62 background

This text has white color on #342F62 background.


Related colors

Complementary color

Complementary color for #hex is #CBD09D.


I love getcolorcode.com

Triadic colors

1 #62342F and #2F6234 with #342F62 are triadic colors.

2 #622F34 and #2F3462 with #342F62 are triadic colors.