COLOR #505B8C

HEX: #505B8C RGB: (80,91,140)

Color info

#505B8C contains mainly green and blue colors. Web safe color of #505B8C is #666699 (or #669).

RGB color model

#505B8C color RGB value is (80,91,140).

RGB: (80,91,140) (31%, 36%, 55%)

RGB channels and saturation

R 80 of 255 = 31%
G 91 of 255 = 36%
B 140 of 255 = 55%

80
91
140

R + G + B ~ 41%. #505B8C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 80 + 91 + 140 = 311 (100%)
R 80 of 311 ~ 25.72%
G 91 of 311 ~ 29.26%
B 140 of 311 ~ 45.02'%

%25.72
%29.26
%45.02

CMYK color model

#505B8C color CMYK value is (43,35,0,45).

  • cyan value is 42.86%
  • magenta value is 35.00%
  • yellow value is 0.00%
  • key color value is 45.10%

CMYK: (43,35,0,45)
C43M35Y0K45 (43%, 35%, 0%, 45%)
(0.43 / 0.35 / 0.00 / 0.45)

CMYK percentages

%42.86
%35
%0
%45.1

Codes

Color #505B8C in popluar color models

50 5B 8C
RGB 80 91 140
HSL 229° 27.27% 43.14%
HSB/HSV 229° 42.86% 54.90%
CMYK 42.86% 35.00% 0.00%
45.10%

Color #505B8C in popluar number systems.

HEX 50 5B 8C
Decimal 80 91 140
Binary 1010000 1011011 10001100
Octal 120 133 214

Shades and tints

Shades of #505B8C

#505B8C
(80,91,140)
#495380
(73,83,128)
#424B74
(66,75,116)
#3B4368
(59,67,104)
#343B5C
(52,59,92)
#2D3350
(45,51,80)
#262B44
(38,43,68)
#1F2338
(31,35,56)
#181B2C
(24,27,44)
#111320
(17,19,32)
#0A0B14
(10,11,20)
#000000
(0,0,0)

Tints of #505B8C

#505B8C
(80,91,140)
#5F6996
(95,105,150)
#6E77A0
(110,119,160)
#7D85AA
(125,133,170)
#8C93B4
(140,147,180)
#9BA1BE
(155,161,190)
#AAAFC8
(170,175,200)
#B9BDD2
(185,189,210)
#C8CBDC
(200,203,220)
#D7D9E6
(215,217,230)
#E6E7F0
(230,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505B8C; }

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

This text font color is #505B8C.

Background Color

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

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

This div background color is #505B8C.

Border color

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

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

This div border color is #505B8C.

Opacity

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

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

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

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

This text has shadow with #505B8C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505B8C.

Preview

Color preview on black background

This text has color #505B8C on black background.


Color preview on white background

This text has color #505B8C on white background.


Black color preview on #505B8C background

This text has black color on #505B8C background.


White color preview on #505B8C background

This text has white color on #505B8C background.


Related colors

Complementary color

Complementary color for #hex is #AFA473.


I love getcolorcode.com

Triadic colors

1 #8C505B and #5B8C50 with #505B8C are triadic colors.

2 #8C5B50 and #5B508C with #505B8C are triadic colors.