COLOR #515D8A

HEX: #515D8A
RGB: (81,93,138)

Color info

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

RGB color model

#515D8A color RGB value is (81,93,138).

  • red value is 81;
  • green value is 93;
  • blue value is 138.
RGB:
(81,93,138)
(32%,36%,54%)

RGB channels and saturation

R 81 of 255 = 32%
G 93 of 255 = 36%
B 138 of 255 = 54%

81
93
138

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

Portions of RGB colors in percentages

R + G + B =
81 + 93 + 138 = 312 (100%)
R 81 of 312 ~ 25.96%
G 93 of 312 ~ 29.81%
B 138 of 312 ~ 44.23%

%25.96
%29.81
%44.23

CMYK color model

#515D8A color CMYK value is (41,33,0,46).

  • cyan value is 41.30%
  • magenta value is 32.61%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(41,33,0,46)
C41M33Y0K46 
(41%,33%,0%,46%)
(0.41/0.33/0.00/0.46)	

CMYK percentages

%41.3
%32.61
%0
%45.88

Codes

Color #515D8A in popluar color models

515D8A
RGB8193138
HSL227°26.03%42.94%
HSB/HSV227°41.30%54.12%
CMYK41.30%32.61%0.00%
45.88%

Color #515D8A in popluar number systems.

HEX515D8A
Decimal8193138
Binary1010001101110110001010
Octal121135212

Shades and tints

Shades of #515D8A

#515D8A
(81,93,138)
#4A557E
(74,85,126)
#434D72
(67,77,114)
#3C4566
(60,69,102)
#353D5A
(53,61,90)
#2E354E
(46,53,78)
#272D42
(39,45,66)
#202536
(32,37,54)
#191D2A
(25,29,42)
#12151E
(18,21,30)
#0B0D12
(11,13,18)
#000000
(0,0,0)

Tints of #515D8A

#515D8A
(81,93,138)
#606B94
(96,107,148)
#6F799E
(111,121,158)
#7E87A8
(126,135,168)
#8D95B2
(141,149,178)
#9CA3BC
(156,163,188)
#ABB1C6
(171,177,198)
#BABFD0
(186,191,208)
#C9CDDA
(201,205,218)
#D8DBE4
(216,219,228)
#E7E9EE
(231,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #515D8A color. Also use rgb(81,93,138) instead hex code.

Text Font Color

.myTextColor { color: #515D8A; }

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

This text font color is #515D8A.


Background Color

.myBgColor { background-color: #515D8A; }

<div style="background-color:#515D8A">Inner text</div>

This div background color is #515D8A.


Border color

.myBorderColor { border: 1px solid #515D8A; }

<div style="border:3px solid #515D8A">Div</div>

This div border color is #515D8A.


Opacity

.myOpacity80 { color: #515D8A; opacity: 0.8; }

<p style="color:#515D8A;opacity:0.8;">80%</p>

Text with #515D8A 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 #515D8A;}

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

This text has shadow with #515D8A color.

.textShadow {text-shadow: 3px 3px 1px #515D8A, 3px 3px 1px red;}

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

This text has shadow with #515D8A primary color and red secondary color.


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

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

This text has shadow with #515D8A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #515D8A on black background.


Color preview on white background

This text has color #515D8A on white background.



Black color preview on #515D8A background

This text has black color on #515D8A background.


White color preview on #515D8A background

This text has white color on #515D8A background.