COLOR #5F408B

HEX: #5F408B RGB: (95,64,139)

Color info

#5F408B contains mainly red and blue colors. Web safe color of #5F408B is #663399 (or #639).

RGB color model

#5F408B color RGB value is (95,64,139).

RGB: (95,64,139) (37%, 25%, 55%)

RGB channels and saturation

R 95 of 255 = 37%
G 64 of 255 = 25%
B 139 of 255 = 55%

95
64
139

R + G + B ~ 39%. #5F408B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 95 + 64 + 139 = 298 (100%)
R 95 of 298 ~ 31.88%
G 64 of 298 ~ 21.48%
B 139 of 298 ~ 46.64'%

%31.88
%21.48
%46.64

CMYK color model

#5F408B color CMYK value is (32,54,0,45).

  • cyan value is 31.65%
  • magenta value is 53.96%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (32,54,0,45)
C32M54Y0K45 (32%, 54%, 0%, 45%)
(0.32 / 0.54 / 0.00 / 0.45)

CMYK percentages

%31.65
%53.96
%0
%45.49

Codes

Color #5F408B in popluar color models

5F 40 8B
RGB 95 64 139
HSL 265° 36.95% 39.80%
HSB/HSV 265° 53.96% 54.51%
CMYK 31.65% 53.96% 0.00%
45.49%

Color #5F408B in popluar number systems.

HEX 5F 40 8B
Decimal 95 64 139
Binary 1011111 1000000 10001011
Octal 137 100 213

Shades and tints

Shades of #5F408B

#5F408B
(95,64,139)
#573B7F
(87,59,127)
#4F3673
(79,54,115)
#473167
(71,49,103)
#3F2C5B
(63,44,91)
#37274F
(55,39,79)
#2F2243
(47,34,67)
#271D37
(39,29,55)
#1F182B
(31,24,43)
#17131F
(23,19,31)
#0F0E13
(15,14,19)
#000000
(0,0,0)

Tints of #5F408B

#5F408B
(95,64,139)
#6D5195
(109,81,149)
#7B629F
(123,98,159)
#8973A9
(137,115,169)
#9784B3
(151,132,179)
#A595BD
(165,149,189)
#B3A6C7
(179,166,199)
#C1B7D1
(193,183,209)
#CFC8DB
(207,200,219)
#DDD9E5
(221,217,229)
#EBEAEF
(235,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F408B; }

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

This text font color is #5F408B.

Background Color

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

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

This div background color is #5F408B.

Border color

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

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

This div border color is #5F408B.

Opacity

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

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

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

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

This text has shadow with #5F408B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5F408B.

Preview

Color preview on black background

This text has color #5F408B on black background.


Color preview on white background

This text has color #5F408B on white background.


Black color preview on #5F408B background

This text has black color on #5F408B background.


White color preview on #5F408B background

This text has white color on #5F408B background.


Related colors

Complementary color

Complementary color for #hex is #A0BF74.


I love getcolorcode.com

Triadic colors

1 #8B5F40 and #408B5F with #5F408B are triadic colors.

2 #8B405F and #405F8B with #5F408B are triadic colors.