COLOR #5B5B87

HEX: #5B5B87 RGB: (91,91,135)

Color info

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

RGB color model

#5B5B87 color RGB value is (91,91,135).

RGB: (91,91,135) (36%, 36%, 53%)

RGB channels and saturation

R 91 of 255 = 36%
G 91 of 255 = 36%
B 135 of 255 = 53%

91
91
135

R + G + B ~ 42%. #5B5B87 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 91 + 91 + 135 = 317 (100%)
R 91 of 317 ~ 28.71%
G 91 of 317 ~ 28.71%
B 135 of 317 ~ 42.59'%

%28.71
%28.71
%42.59

CMYK color model

#5B5B87 color CMYK value is (33,33,0,47).

  • cyan value is 32.59%
  • magenta value is 32.59%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK: (33,33,0,47) C33M33Y0K47 (33%,33%,0%,47%) (0.33/0.33/0.00/0.47) 

CMYK percentages

%32.59
%32.59
%0
%47.06

Codes

Color #5B5B87 in popluar color models

5B 5B 87
RGB 91 91 135
HSL 240° 19.47% 44.31%
HSB/HSV 240° 32.59% 52.94%
CMYK 32.59% 32.59% 0.00%
47.06%

Color #5B5B87 in popluar number systems.

HEX 5B 5B 87
Decimal 91 91 135
Binary 1011011 1011011 10000111
Octal 133 133 207

Shades and tints

Shades of #5B5B87

#5B5B87
(91,91,135)
#53537B
(83,83,123)
#4B4B6F
(75,75,111)
#434363
(67,67,99)
#3B3B57
(59,59,87)
#33334B
(51,51,75)
#2B2B3F
(43,43,63)
#232333
(35,35,51)
#1B1B27
(27,27,39)
#13131B
(19,19,27)
#0B0B0F
(11,11,15)
#000000
(0,0,0)

Tints of #5B5B87

#5B5B87
(91,91,135)
#696991
(105,105,145)
#77779B
(119,119,155)
#8585A5
(133,133,165)
#9393AF
(147,147,175)
#A1A1B9
(161,161,185)
#AFAFC3
(175,175,195)
#BDBDCD
(189,189,205)
#CBCBD7
(203,203,215)
#D9D9E1
(217,217,225)
#E7E7EB
(231,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B5B87 color. Also use rgb(91,91,135) instead hex code.

Text Font Color

.myTextColor { color: #5B5B87; }

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

This text font color is #5B5B87.

Background Color

.myBgColor { background-color: #5B5B87; }

<div style="background-color:#5B5B87">Inner text</div>

This div background color is #5B5B87.

Border color

.myBorderColor { border: 1px solid #5B5B87; }

<div style="border:3px solid #5B5B87">Div</div>

This div border color is #5B5B87.

Opacity

.myOpacity80 { color: #5B5B87; opacity: 0.8; }

<p style="color:#5B5B87;opacity:0.8;">80%</p>

Text with #5B5B87 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 #5B5B87;}

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

This text has shadow with #5B5B87 color.


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

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

This text has shadow with #5B5B87 primary color and red secondary color.


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

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

This text has shadow with #5B5B87 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #5B5B87.

Preview

Color preview on black background

This text has color #5B5B87 on black background.


Color preview on white background

This text has color #5B5B87 on white background.


Black color preview on #5B5B87 background

This text has black color on #5B5B87 background.


White color preview on #5B5B87 background

This text has white color on #5B5B87 background.


Related colors

Complementary color

Complementary color for #hex is #A4A478.


I love getcolorcode.com