COLOR #2D428A

HEX: #2D428A
RGB: (45,66,138)

Color info

#2D428A contains mainly blue color. Web safe color of #2D428A is #333399 (or #339).

RGB color model

#2D428A color RGB value is (45,66,138).

  • red value is 45;
  • green value is 66;
  • blue value is 138.
RGB:
(45,66,138)
(18%,26%,54%)

RGB channels and saturation

R 45 of 255 = 18%
G 66 of 255 = 26%
B 138 of 255 = 54%

45
66
138

R + G + B ~ 33%. #2D428A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
45 + 66 + 138 = 249 (100%)
R 45 of 249 ~ 18.07%
G 66 of 249 ~ 26.51%
B 138 of 249 ~ 55.42%

%18.07
%26.51
%55.42

CMYK color model

#2D428A color CMYK value is (67,52,0,46).

  • cyan value is 67.39%
  • magenta value is 52.17%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(67,52,0,46)
C67M52Y0K46 
(67%,52%,0%,46%)
(0.67/0.52/0.00/0.46)	

CMYK percentages

%67.39
%52.17
%0
%45.88

Codes

Color #2D428A in popluar color models

2D428A
RGB4566138
HSL226°50.82%35.88%
HSB/HSV226°67.39%54.12%
CMYK67.39%52.17%0.00%
45.88%

Color #2D428A in popluar number systems.

HEX2D428A
Decimal4566138
Binary101101100001010001010
Octal55102212

Shades and tints

Shades of #2D428A

#2D428A
(45,66,138)
#293C7E
(41,60,126)
#253672
(37,54,114)
#213066
(33,48,102)
#1D2A5A
(29,42,90)
#19244E
(25,36,78)
#151E42
(21,30,66)
#111836
(17,24,54)
#0D122A
(13,18,42)
#090C1E
(9,12,30)
#050612
(5,6,18)
#000000
(0,0,0)

Tints of #2D428A

#2D428A
(45,66,138)
#405394
(64,83,148)
#53649E
(83,100,158)
#6675A8
(102,117,168)
#7986B2
(121,134,178)
#8C97BC
(140,151,188)
#9FA8C6
(159,168,198)
#B2B9D0
(178,185,208)
#C5CADA
(197,202,218)
#D8DBE4
(216,219,228)
#EBECEE
(235,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D428A color. Also use rgb(45,66,138) instead hex code.

Text Font Color

.myTextColor { color: #2D428A; }

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

This text font color is #2D428A.


Background Color

.myBgColor { background-color: #2D428A; }

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

This div background color is #2D428A.


Border color

.myBorderColor { border: 1px solid #2D428A; }

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

This div border color is #2D428A.


Opacity

.myOpacity80 { color: #2D428A; opacity: 0.8; }

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

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

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

This text has shadow with #2D428A color.

.textShadow {text-shadow: 3px 3px 1px #2D428A, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D428A on black background.


Color preview on white background

This text has color #2D428A on white background.



Black color preview on #2D428A background

This text has black color on #2D428A background.


White color preview on #2D428A background

This text has white color on #2D428A background.