COLOR #342E8A

HEX: #342E8A RGB: (52,46,138)

Color info

#342E8A contains mainly blue color. Web safe color of #342E8A is #333399 (or #339).

RGB color model

#342E8A color RGB value is (52,46,138).

RGB: (52,46,138) (20%, 18%, 54%)

RGB channels and saturation

R 52 of 255 = 20%
G 46 of 255 = 18%
B 138 of 255 = 54%

52
46
138

R + G + B ~ 31%. #342E8A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 46 + 138 = 236 (100%)
R 52 of 236 ~ 22.03%
G 46 of 236 ~ 19.49%
B 138 of 236 ~ 58.47'%

%22.03
%19.49
%58.47

CMYK color model

#342E8A color CMYK value is (62,67,0,46).

  • cyan value is 62.32%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 45.88%

CMYK: (62,67,0,46)
C62M67Y0K46 (62%, 67%, 0%, 46%)
(0.62 / 0.67 / 0.00 / 0.46)

CMYK percentages

%62.32
%66.67
%0
%45.88

Codes

Color #342E8A in popluar color models

34 2E 8A
RGB 52 46 138
HSL 244° 50.00% 36.08%
HSB/HSV 244° 66.67% 54.12%
CMYK 62.32% 66.67% 0.00%
45.88%

Color #342E8A in popluar number systems.

HEX 34 2E 8A
Decimal 52 46 138
Binary 110100 101110 10001010
Octal 64 56 212

Shades and tints

Shades of #342E8A

#342E8A
(52,46,138)
#302A7E
(48,42,126)
#2C2672
(44,38,114)
#282266
(40,34,102)
#241E5A
(36,30,90)
#201A4E
(32,26,78)
#1C1642
(28,22,66)
#181236
(24,18,54)
#140E2A
(20,14,42)
#100A1E
(16,10,30)
#0C0612
(12,6,18)
#000000
(0,0,0)

Tints of #342E8A

#342E8A
(52,46,138)
#464194
(70,65,148)
#58549E
(88,84,158)
#6A67A8
(106,103,168)
#7C7AB2
(124,122,178)
#8E8DBC
(142,141,188)
#A0A0C6
(160,160,198)
#B2B3D0
(178,179,208)
#C4C6DA
(196,198,218)
#D6D9E4
(214,217,228)
#E8ECEE
(232,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342E8A color. Also use rgb(52,46,138) instead hex code.

Text Font Color

.myTextColor { color: #342E8A; }

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

This text font color is #342E8A.

Background Color

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

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

This div background color is #342E8A.

Border color

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

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

This div border color is #342E8A.

Opacity

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

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

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

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

This text has shadow with #342E8A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342E8A.

Preview

Color preview on black background

This text has color #342E8A on black background.


Color preview on white background

This text has color #342E8A on white background.


Black color preview on #342E8A background

This text has black color on #342E8A background.


White color preview on #342E8A background

This text has white color on #342E8A background.


Related colors

Complementary color

Complementary color for #hex is #CBD175.


I love getcolorcode.com

Triadic colors

1 #8A342E and #2E8A34 with #342E8A are triadic colors.

2 #8A2E34 and #2E348A with #342E8A are triadic colors.