COLOR #21457E

HEX: #21457E RGB: (33,69,126)

Color info

#21457E contains mainly green and blue colors. Web safe color of #21457E is #333366 (or #336).

RGB color model

#21457E color RGB value is (33,69,126).

RGB: (33,69,126) (13%, 27%, 49%)

RGB channels and saturation

R 33 of 255 = 13%
G 69 of 255 = 27%
B 126 of 255 = 49%

33
69
126

R + G + B ~ 30%. #21457E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 33 + 69 + 126 = 228 (100%)
R 33 of 228 ~ 14.47%
G 69 of 228 ~ 30.26%
B 126 of 228 ~ 55.26'%

%14.47
%30.26
%55.26

CMYK color model

#21457E color CMYK value is (74,45,0,51).

  • cyan value is 73.81%
  • magenta value is 45.24%
  • yellow value is 0.00%
  • key color value is 50.59%

CMYK: (74,45,0,51)
C74M45Y0K51 (74%, 45%, 0%, 51%)
(0.74 / 0.45 / 0.00 / 0.51)

CMYK percentages

%73.81
%45.24
%0
%50.59

Codes

Color #21457E in popluar color models

21 45 7E
RGB 33 69 126
HSL 217° 58.49% 31.18%
HSB/HSV 217° 73.81% 49.41%
CMYK 73.81% 45.24% 0.00%
50.59%

Color #21457E in popluar number systems.

HEX 21 45 7E
Decimal 33 69 126
Binary 100001 1000101 1111110
Octal 41 105 176

Shades and tints

Shades of #21457E

#21457E
(33,69,126)
#1E3F73
(30,63,115)
#1B3968
(27,57,104)
#18335D
(24,51,93)
#152D52
(21,45,82)
#122747
(18,39,71)
#0F213C
(15,33,60)
#0C1B31
(12,27,49)
#091526
(9,21,38)
#060F1B
(6,15,27)
#030910
(3,9,16)
#000000
(0,0,0)

Tints of #21457E

#21457E
(33,69,126)
#355589
(53,85,137)
#496594
(73,101,148)
#5D759F
(93,117,159)
#7185AA
(113,133,170)
#8595B5
(133,149,181)
#99A5C0
(153,165,192)
#ADB5CB
(173,181,203)
#C1C5D6
(193,197,214)
#D5D5E1
(213,213,225)
#E9E5EC
(233,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21457E color. Also use rgb(33,69,126) instead hex code.

Text Font Color

.myTextColor { color: #21457E; }

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

This text font color is #21457E.

Background Color

.myBgColor { background-color: #21457E; }

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

This div background color is #21457E.

Border color

.myBorderColor { border: 1px solid #21457E; }

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

This div border color is #21457E.

Opacity

.myOpacity80 { color: #21457E; opacity: 0.8; }

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

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

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

This text has shadow with #21457E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #21457E.

Preview

Color preview on black background

This text has color #21457E on black background.


Color preview on white background

This text has color #21457E on white background.


Black color preview on #21457E background

This text has black color on #21457E background.


White color preview on #21457E background

This text has white color on #21457E background.


Related colors

Complementary color

Complementary color for #hex is #DEBA81.


I love getcolorcode.com

Triadic colors

1 #7E2145 and #457E21 with #21457E are triadic colors.

2 #7E4521 and #45217E with #21457E are triadic colors.