COLOR #515F8A

HEX: #515F8A RGB: (81,95,138)

Color info

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

RGB color model

#515F8A color RGB value is (81,95,138).

RGB: (81,95,138) (32%, 37%, 54%)

RGB channels and saturation

R 81 of 255 = 32%
G 95 of 255 = 37%
B 138 of 255 = 54%

81
95
138

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

Portions of RGB colors in percentages

R + G + B = 81 + 95 + 138 = 314 (100%)
R 81 of 314 ~ 25.8%
G 95 of 314 ~ 30.25%
B 138 of 314 ~ 43.95'%

%25.8
%30.25
%43.95

CMYK color model

#515F8A color CMYK value is (41,31,0,46).

  • cyan value is 41.30%
  • magenta value is 31.16%
  • yellow value is 0.00%
  • key color value is 45.88%

CMYK: (41,31,0,46)
C41M31Y0K46 (41%, 31%, 0%, 46%)
(0.41 / 0.31 / 0.00 / 0.46)

CMYK percentages

%41.3
%31.16
%0
%45.88

Codes

Color #515F8A in popluar color models

51 5F 8A
RGB 81 95 138
HSL 225° 26.03% 42.94%
HSB/HSV 225° 41.30% 54.12%
CMYK 41.30% 31.16% 0.00%
45.88%

Color #515F8A in popluar number systems.

HEX 51 5F 8A
Decimal 81 95 138
Binary 1010001 1011111 10001010
Octal 121 137 212

Shades and tints

Shades of #515F8A

#515F8A
(81,95,138)
#4A577E
(74,87,126)
#434F72
(67,79,114)
#3C4766
(60,71,102)
#353F5A
(53,63,90)
#2E374E
(46,55,78)
#272F42
(39,47,66)
#202736
(32,39,54)
#191F2A
(25,31,42)
#12171E
(18,23,30)
#0B0F12
(11,15,18)
#000000
(0,0,0)

Tints of #515F8A

#515F8A
(81,95,138)
#606D94
(96,109,148)
#6F7B9E
(111,123,158)
#7E89A8
(126,137,168)
#8D97B2
(141,151,178)
#9CA5BC
(156,165,188)
#ABB3C6
(171,179,198)
#BAC1D0
(186,193,208)
#C9CFDA
(201,207,218)
#D8DDE4
(216,221,228)
#E7EBEE
(231,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #515F8A; }

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

This text font color is #515F8A.

Background Color

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

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

This div background color is #515F8A.

Border color

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

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

This div border color is #515F8A.

Opacity

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

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

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

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

This text has shadow with #515F8A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #515F8A.

Preview

Color preview on black background

This text has color #515F8A on black background.


Color preview on white background

This text has color #515F8A on white background.


Black color preview on #515F8A background

This text has black color on #515F8A background.


White color preview on #515F8A background

This text has white color on #515F8A background.


Related colors

Complementary color

Complementary color for #hex is #AEA075.


I love getcolorcode.com

Triadic colors

1 #8A515F and #5F8A51 with #515F8A are triadic colors.

2 #8A5F51 and #5F518A with #515F8A are triadic colors.