COLOR #5B5B9A

HEX: #5B5B9A RGB: (91,91,154)

Color info

#5B5B9A contains mainly blue color. Web safe color of #5B5B9A is #666699 (or #669).

RGB color model

#5B5B9A color RGB value is (91,91,154).

RGB: (91,91,154) (36%, 36%, 60%)

RGB channels and saturation

R 91 of 255 = 36%
G 91 of 255 = 36%
B 154 of 255 = 60%

91
91
154

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

Portions of RGB colors in percentages

R + G + B = 91 + 91 + 154 = 336 (100%)
R 91 of 336 ~ 27.08%
G 91 of 336 ~ 27.08%
B 154 of 336 ~ 45.83'%

%27.08
%27.08
%45.83

CMYK color model

#5B5B9A color CMYK value is (41,41,0,40).

  • cyan value is 40.91%
  • magenta value is 40.91%
  • yellow value is 0.00%
  • key color value is 39.61%

CMYK: (41,41,0,40)
C41M41Y0K40 (41%, 41%, 0%, 40%)
(0.41 / 0.41 / 0.00 / 0.40)

CMYK percentages

%40.91
%40.91
%0
%39.61

Codes

Color #5B5B9A in popluar color models

5B 5B 9A
RGB 91 91 154
HSL 240° 25.71% 48.04%
HSB/HSV 240° 40.91% 60.39%
CMYK 40.91% 40.91% 0.00%
39.61%

Color #5B5B9A in popluar number systems.

HEX 5B 5B 9A
Decimal 91 91 154
Binary 1011011 1011011 10011010
Octal 133 133 232

Shades and tints

Shades of #5B5B9A

#5B5B9A
(91,91,154)
#53538C
(83,83,140)
#4B4B7E
(75,75,126)
#434370
(67,67,112)
#3B3B62
(59,59,98)
#333354
(51,51,84)
#2B2B46
(43,43,70)
#232338
(35,35,56)
#1B1B2A
(27,27,42)
#13131C
(19,19,28)
#0B0B0E
(11,11,14)
#000000
(0,0,0)

Tints of #5B5B9A

#5B5B9A
(91,91,154)
#6969A3
(105,105,163)
#7777AC
(119,119,172)
#8585B5
(133,133,181)
#9393BE
(147,147,190)
#A1A1C7
(161,161,199)
#AFAFD0
(175,175,208)
#BDBDD9
(189,189,217)
#CBCBE2
(203,203,226)
#D9D9EB
(217,217,235)
#E7E7F4
(231,231,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B5B9A; }

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

This text font color is #5B5B9A.

Background Color

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

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

This div background color is #5B5B9A.

Border color

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

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

This div border color is #5B5B9A.

Opacity

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

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

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

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

This text has shadow with #5B5B9A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5B5B9A.

Preview

Color preview on black background

This text has color #5B5B9A on black background.


Color preview on white background

This text has color #5B5B9A on white background.


Black color preview on #5B5B9A background

This text has black color on #5B5B9A background.


White color preview on #5B5B9A background

This text has white color on #5B5B9A background.


Related colors

Complementary color

Complementary color for #hex is #A4A465.


I love getcolorcode.com