COLOR #505DA7

HEX: #505DA7
RGB: (80,93,167)

Color info

#505DA7 contains mainly blue color. Web safe color of #505DA7 is #666699 (or #669).

RGB color model

#505DA7 color RGB value is (80,93,167).

  • red value is 80;
  • green value is 93;
  • blue value is 167.
RGB:
(80,93,167)
(31%,36%,65%)

RGB channels and saturation

R 80 of 255 = 31%
G 93 of 255 = 36%
B 167 of 255 = 65%

80
93
167

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

Portions of RGB colors in percentages

R + G + B =
80 + 93 + 167 = 340 (100%)
R 80 of 340 ~ 23.53%
G 93 of 340 ~ 27.35%
B 167 of 340 ~ 49.12%

%23.53
%27.35
%49.12

CMYK color model

#505DA7 color CMYK value is (52,44,0,35).

  • cyan value is 52.10%
  • magenta value is 44.31%
  • yellow value is 0.00%
  • key color value is 34.51%
CMYK:
(52,44,0,35)
C52M44Y0K35 
(52%,44%,0%,35%)
(0.52/0.44/0.00/0.35)	

CMYK percentages

%52.1
%44.31
%0
%34.51

Codes

Color #505DA7 in popluar color models

505DA7
RGB8093167
HSL231°35.22%48.43%
HSB/HSV231°52.10%65.49%
CMYK52.10%44.31%0.00%
34.51%

Color #505DA7 in popluar number systems.

HEX505DA7
Decimal8093167
Binary1010000101110110100111
Octal120135247

Shades and tints

Shades of #505DA7

#505DA7
(80,93,167)
#495598
(73,85,152)
#424D89
(66,77,137)
#3B457A
(59,69,122)
#343D6B
(52,61,107)
#2D355C
(45,53,92)
#262D4D
(38,45,77)
#1F253E
(31,37,62)
#181D2F
(24,29,47)
#111520
(17,21,32)
#0A0D11
(10,13,17)
#000000
(0,0,0)

Tints of #505DA7

#505DA7
(80,93,167)
#5F6BAF
(95,107,175)
#6E79B7
(110,121,183)
#7D87BF
(125,135,191)
#8C95C7
(140,149,199)
#9BA3CF
(155,163,207)
#AAB1D7
(170,177,215)
#B9BFDF
(185,191,223)
#C8CDE7
(200,205,231)
#D7DBEF
(215,219,239)
#E6E9F7
(230,233,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505DA7 color. Also use rgb(80,93,167) instead hex code.

Text Font Color

.myTextColor { color: #505DA7; }

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

This text font color is #505DA7.


Background Color

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

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

This div background color is #505DA7.


Border color

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

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

This div border color is #505DA7.


Opacity

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

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

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

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

This text has shadow with #505DA7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505DA7 on black background.


Color preview on white background

This text has color #505DA7 on white background.



Black color preview on #505DA7 background

This text has black color on #505DA7 background.


White color preview on #505DA7 background

This text has white color on #505DA7 background.