COLOR #21517B

HEX: #21517B RGB: (33,81,123)

Color info

#21517B contains mainly green and blue colors. Web safe color of #21517B is #336666 (or #366).

RGB color model

#21517B color RGB value is (33,81,123).

RGB: (33,81,123) (13%, 32%, 48%)

RGB channels and saturation

R 33 of 255 = 13%
G 81 of 255 = 32%
B 123 of 255 = 48%

33
81
123

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

Portions of RGB colors in percentages

R + G + B = 33 + 81 + 123 = 237 (100%)
R 33 of 237 ~ 13.92%
G 81 of 237 ~ 34.18%
B 123 of 237 ~ 51.9'%

%13.92
%34.18
%51.9

CMYK color model

#21517B color CMYK value is (73,34,0,52).

  • cyan value is 73.17%
  • magenta value is 34.15%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (73,34,0,52)
C73M34Y0K52 (73%, 34%, 0%, 52%)
(0.73 / 0.34 / 0.00 / 0.52)

CMYK percentages

%73.17
%34.15
%0
%51.76

Codes

Color #21517B in popluar color models

21 51 7B
RGB 33 81 123
HSL 208° 57.69% 30.59%
HSB/HSV 208° 73.17% 48.24%
CMYK 73.17% 34.15% 0.00%
51.76%

Color #21517B in popluar number systems.

HEX 21 51 7B
Decimal 33 81 123
Binary 100001 1010001 1111011
Octal 41 121 173

Shades and tints

Shades of #21517B

#21517B
(33,81,123)
#1E4A70
(30,74,112)
#1B4365
(27,67,101)
#183C5A
(24,60,90)
#15354F
(21,53,79)
#122E44
(18,46,68)
#0F2739
(15,39,57)
#0C202E
(12,32,46)
#091923
(9,25,35)
#061218
(6,18,24)
#030B0D
(3,11,13)
#000000
(0,0,0)

Tints of #21517B

#21517B
(33,81,123)
#356087
(53,96,135)
#496F93
(73,111,147)
#5D7E9F
(93,126,159)
#718DAB
(113,141,171)
#859CB7
(133,156,183)
#99ABC3
(153,171,195)
#ADBACF
(173,186,207)
#C1C9DB
(193,201,219)
#D5D8E7
(213,216,231)
#E9E7F3
(233,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21517B color. Also use rgb(33,81,123) instead hex code.

Text Font Color

.myTextColor { color: #21517B; }

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

This text font color is #21517B.

Background Color

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

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

This div background color is #21517B.

Border color

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

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

This div border color is #21517B.

Opacity

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

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

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

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

This text has shadow with #21517B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #21517B.

Preview

Color preview on black background

This text has color #21517B on black background.


Color preview on white background

This text has color #21517B on white background.


Black color preview on #21517B background

This text has black color on #21517B background.


White color preview on #21517B background

This text has white color on #21517B background.


Related colors

Complementary color

Complementary color for #hex is #DEAE84.


I love getcolorcode.com

Triadic colors

1 #7B2151 and #517B21 with #21517B are triadic colors.

2 #7B5121 and #51217B with #21517B are triadic colors.