COLOR #5A6D8B

HEX: #5A6D8B RGB: (90,109,139)

Color info

#5A6D8B contains red, green and blue colors in about the same proportion. Web safe color of #5A6D8B is #666699 (or #669).

RGB color model

#5A6D8B color RGB value is (90,109,139).

RGB: (90,109,139) (35%, 43%, 55%)

RGB channels and saturation

R 90 of 255 = 35%
G 109 of 255 = 43%
B 139 of 255 = 55%

90
109
139

R + G + B ~ 44%. #5A6D8B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 90 + 109 + 139 = 338 (100%)
R 90 of 338 ~ 26.63%
G 109 of 338 ~ 32.25%
B 139 of 338 ~ 41.12'%

%26.63
%32.25
%41.12

CMYK color model

#5A6D8B color CMYK value is (35,22,0,45).

  • cyan value is 35.25%
  • magenta value is 21.58%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (35,22,0,45)
C35M22Y0K45 (35%, 22%, 0%, 45%)
(0.35 / 0.22 / 0.00 / 0.45)

CMYK percentages

%35.25
%21.58
%0
%45.49

Codes

Color #5A6D8B in popluar color models

5A 6D 8B
RGB 90 109 139
HSL 217° 21.40% 44.90%
HSB/HSV 217° 35.25% 54.51%
CMYK 35.25% 21.58% 0.00%
45.49%

Color #5A6D8B in popluar number systems.

HEX 5A 6D 8B
Decimal 90 109 139
Binary 1011010 1101101 10001011
Octal 132 155 213

Shades and tints

Shades of #5A6D8B

#5A6D8B
(90,109,139)
#52647F
(82,100,127)
#4A5B73
(74,91,115)
#425267
(66,82,103)
#3A495B
(58,73,91)
#32404F
(50,64,79)
#2A3743
(42,55,67)
#222E37
(34,46,55)
#1A252B
(26,37,43)
#121C1F
(18,28,31)
#0A1313
(10,19,19)
#000000
(0,0,0)

Tints of #5A6D8B

#5A6D8B
(90,109,139)
#697A95
(105,122,149)
#78879F
(120,135,159)
#8794A9
(135,148,169)
#96A1B3
(150,161,179)
#A5AEBD
(165,174,189)
#B4BBC7
(180,187,199)
#C3C8D1
(195,200,209)
#D2D5DB
(210,213,219)
#E1E2E5
(225,226,229)
#F0EFEF
(240,239,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A6D8B color. Also use rgb(90,109,139) instead hex code.

Text Font Color

.myTextColor { color: #5A6D8B; }

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

This text font color is #5A6D8B.

Background Color

.myBgColor { background-color: #5A6D8B; }

<div style="background-color:#5A6D8B">Inner text</div>

This div background color is #5A6D8B.

Border color

.myBorderColor { border: 1px solid #5A6D8B; }

<div style="border:3px solid #5A6D8B">Div</div>

This div border color is #5A6D8B.

Opacity

.myOpacity80 { color: #5A6D8B; opacity: 0.8; }

<p style="color:#5A6D8B;opacity:0.8;">80%</p>

Text with #5A6D8B 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 #5A6D8B;}

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

This text has shadow with #5A6D8B color.


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

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

This text has shadow with #5A6D8B primary color and red secondary color.


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

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

This text has shadow with #5A6D8B and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #5A6D8B.

Preview

Color preview on black background

This text has color #5A6D8B on black background.


Color preview on white background

This text has color #5A6D8B on white background.


Black color preview on #5A6D8B background

This text has black color on #5A6D8B background.


White color preview on #5A6D8B background

This text has white color on #5A6D8B background.


Related colors

Complementary color

Complementary color for #hex is #A59274.


I love getcolorcode.com

Triadic colors

1 #8B5A6D and #6D8B5A with #5A6D8B are triadic colors.

2 #8B6D5A and #6D5A8B with #5A6D8B are triadic colors.