COLOR #5F5FA5

HEX: #5F5FA5 RGB: (95,95,165)

Color info

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

RGB color model

#5F5FA5 color RGB value is (95,95,165).

RGB: (95,95,165) (37%, 37%, 65%)

RGB channels and saturation

R 95 of 255 = 37%
G 95 of 255 = 37%
B 165 of 255 = 65%

95
95
165

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

Portions of RGB colors in percentages

R + G + B = 95 + 95 + 165 = 355 (100%)
R 95 of 355 ~ 26.76%
G 95 of 355 ~ 26.76%
B 165 of 355 ~ 46.48'%

%26.76
%26.76
%46.48

CMYK color model

#5F5FA5 color CMYK value is (42,42,0,35).

  • cyan value is 42.42%
  • magenta value is 42.42%
  • yellow value is 0.00%
  • key color value is 35.29%

CMYK: (42,42,0,35)
C42M42Y0K35 (42%, 42%, 0%, 35%)
(0.42 / 0.42 / 0.00 / 0.35)

CMYK percentages

%42.42
%42.42
%0
%35.29

Codes

Color #5F5FA5 in popluar color models

5F 5F A5
RGB 95 95 165
HSL 240° 28.00% 50.98%
HSB/HSV 240° 42.42% 64.71%
CMYK 42.42% 42.42% 0.00%
35.29%

Color #5F5FA5 in popluar number systems.

HEX 5F 5F A5
Decimal 95 95 165
Binary 1011111 1011111 10100101
Octal 137 137 245

Shades and tints

Shades of #5F5FA5

#5F5FA5
(95,95,165)
#575796
(87,87,150)
#4F4F87
(79,79,135)
#474778
(71,71,120)
#3F3F69
(63,63,105)
#37375A
(55,55,90)
#2F2F4B
(47,47,75)
#27273C
(39,39,60)
#1F1F2D
(31,31,45)
#17171E
(23,23,30)
#0F0F0F
(15,15,15)
#000000
(0,0,0)

Tints of #5F5FA5

#5F5FA5
(95,95,165)
#6D6DAD
(109,109,173)
#7B7BB5
(123,123,181)
#8989BD
(137,137,189)
#9797C5
(151,151,197)
#A5A5CD
(165,165,205)
#B3B3D5
(179,179,213)
#C1C1DD
(193,193,221)
#CFCFE5
(207,207,229)
#DDDDED
(221,221,237)
#EBEBF5
(235,235,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F5FA5 color. Also use rgb(95,95,165) instead hex code.

Text Font Color

.myTextColor { color: #5F5FA5; }

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

This text font color is #5F5FA5.

Background Color

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

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

This div background color is #5F5FA5.

Border color

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

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

This div border color is #5F5FA5.

Opacity

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

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

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

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

This text has shadow with #5F5FA5 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5F5FA5.

Preview

Color preview on black background

This text has color #5F5FA5 on black background.


Color preview on white background

This text has color #5F5FA5 on white background.


Black color preview on #5F5FA5 background

This text has black color on #5F5FA5 background.


White color preview on #5F5FA5 background

This text has white color on #5F5FA5 background.


Related colors

Complementary color

Complementary color for #hex is #A0A05A.


I love getcolorcode.com