COLOR #505B7D

HEX: #505B7D RGB: (80,91,125)

Color info

#505B7D contains red, green and blue colors in about the same proportion. Web safe color of #505B7D is #666666 (or #666).

RGB color model

#505B7D color RGB value is (80,91,125).

RGB: (80,91,125) (31%, 36%, 49%)

RGB channels and saturation

R 80 of 255 = 31%
G 91 of 255 = 36%
B 125 of 255 = 49%

80
91
125

R + G + B ~ 39%. #505B7D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 91 + 125 = 296 (100%)
R 80 of 296 ~ 27.03%
G 91 of 296 ~ 30.74%
B 125 of 296 ~ 42.23'%

%27.03
%30.74
%42.23

CMYK color model

#505B7D color CMYK value is (36,27,0,51).

  • cyan value is 36.00%
  • magenta value is 27.20%
  • yellow value is 0.00%
  • key color value is 50.98%

CMYK: (36,27,0,51)
C36M27Y0K51 (36%, 27%, 0%, 51%)
(0.36 / 0.27 / 0.00 / 0.51)

CMYK percentages

%36
%27.2
%0
%50.98

Codes

Color #505B7D in popluar color models

50 5B 7D
RGB 80 91 125
HSL 225° 21.95% 40.20%
HSB/HSV 225° 36.00% 49.02%
CMYK 36.00% 27.20% 0.00%
50.98%

Color #505B7D in popluar number systems.

HEX 50 5B 7D
Decimal 80 91 125
Binary 1010000 1011011 1111101
Octal 120 133 175

Shades and tints

Shades of #505B7D

#505B7D
(80,91,125)
#495372
(73,83,114)
#424B67
(66,75,103)
#3B435C
(59,67,92)
#343B51
(52,59,81)
#2D3346
(45,51,70)
#262B3B
(38,43,59)
#1F2330
(31,35,48)
#181B25
(24,27,37)
#11131A
(17,19,26)
#0A0B0F
(10,11,15)
#000000
(0,0,0)

Tints of #505B7D

#505B7D
(80,91,125)
#5F6988
(95,105,136)
#6E7793
(110,119,147)
#7D859E
(125,133,158)
#8C93A9
(140,147,169)
#9BA1B4
(155,161,180)
#AAAFBF
(170,175,191)
#B9BDCA
(185,189,202)
#C8CBD5
(200,203,213)
#D7D9E0
(215,217,224)
#E6E7EB
(230,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505B7D color. Also use rgb(80,91,125) instead hex code.

Text Font Color

.myTextColor { color: #505B7D; }

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

This text font color is #505B7D.

Background Color

.myBgColor { background-color: #505B7D; }

<div style="background-color:#505B7D">Inner text</div>

This div background color is #505B7D.

Border color

.myBorderColor { border: 1px solid #505B7D; }

<div style="border:3px solid #505B7D">Div</div>

This div border color is #505B7D.

Opacity

.myOpacity80 { color: #505B7D; opacity: 0.8; }

<p style="color:#505B7D;opacity:0.8;">80%</p>

Text with #505B7D 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 #505B7D;}

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

This text has shadow with #505B7D color.


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

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

This text has shadow with #505B7D primary color and red secondary color.


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

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

This text has shadow with #505B7D and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #505B7D.

Preview

Color preview on black background

This text has color #505B7D on black background.


Color preview on white background

This text has color #505B7D on white background.


Black color preview on #505B7D background

This text has black color on #505B7D background.


White color preview on #505B7D background

This text has white color on #505B7D background.


Related colors

Complementary color

Complementary color for #hex is #AFA482.


I love getcolorcode.com

Triadic colors

1 #7D505B and #5B7D50 with #505B7D are triadic colors.

2 #7D5B50 and #5B507D with #505B7D are triadic colors.