COLOR #5F397C

HEX: #5F397C RGB: (95,57,124)

Color info

#5F397C contains mainly red and blue colors. Web safe color of #5F397C is #663366 (or #636).

RGB color model

#5F397C color RGB value is (95,57,124).

RGB: (95,57,124) (37%, 22%, 49%)

RGB channels and saturation

R 95 of 255 = 37%
G 57 of 255 = 22%
B 124 of 255 = 49%

95
57
124

R + G + B ~ 36%. #5F397C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 95 + 57 + 124 = 276 (100%)
R 95 of 276 ~ 34.42%
G 57 of 276 ~ 20.65%
B 124 of 276 ~ 44.93'%

%34.42
%20.65
%44.93

CMYK color model

#5F397C color CMYK value is (23,54,0,51).

  • cyan value is 23.39%
  • magenta value is 54.03%
  • yellow value is 0.00%
  • key color value is 51.37%

CMYK: (23,54,0,51)
C23M54Y0K51 (23%, 54%, 0%, 51%)
(0.23 / 0.54 / 0.00 / 0.51)

CMYK percentages

%23.39
%54.03
%0
%51.37

Codes

Color #5F397C in popluar color models

5F 39 7C
RGB 95 57 124
HSL 274° 37.02% 35.49%
HSB/HSV 274° 54.03% 48.63%
CMYK 23.39% 54.03% 0.00%
51.37%

Color #5F397C in popluar number systems.

HEX 5F 39 7C
Decimal 95 57 124
Binary 1011111 111001 1111100
Octal 137 71 174

Shades and tints

Shades of #5F397C

#5F397C
(95,57,124)
#573471
(87,52,113)
#4F2F66
(79,47,102)
#472A5B
(71,42,91)
#3F2550
(63,37,80)
#372045
(55,32,69)
#2F1B3A
(47,27,58)
#27162F
(39,22,47)
#1F1124
(31,17,36)
#170C19
(23,12,25)
#0F070E
(15,7,14)
#000000
(0,0,0)

Tints of #5F397C

#5F397C
(95,57,124)
#6D4B87
(109,75,135)
#7B5D92
(123,93,146)
#896F9D
(137,111,157)
#9781A8
(151,129,168)
#A593B3
(165,147,179)
#B3A5BE
(179,165,190)
#C1B7C9
(193,183,201)
#CFC9D4
(207,201,212)
#DDDBDF
(221,219,223)
#EBEDEA
(235,237,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5F397C; }

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

This text font color is #5F397C.

Background Color

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

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

This div background color is #5F397C.

Border color

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

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

This div border color is #5F397C.

Opacity

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

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

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

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

This text has shadow with #5F397C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5F397C.

Preview

Color preview on black background

This text has color #5F397C on black background.


Color preview on white background

This text has color #5F397C on white background.


Black color preview on #5F397C background

This text has black color on #5F397C background.


White color preview on #5F397C background

This text has white color on #5F397C background.


Related colors

Complementary color

Complementary color for #hex is #A0C683.


I love getcolorcode.com

Triadic colors

1 #7C5F39 and #397C5F with #5F397C are triadic colors.

2 #7C395F and #395F7C with #5F397C are triadic colors.