COLOR #381C87

HEX: #381C87 RGB: (56,28,135)

Color info

#381C87 contains mainly blue color. Web safe color of #381C87 is #333399 (or #339).

RGB color model

#381C87 color RGB value is (56,28,135).

RGB: (56,28,135) (22%, 11%, 53%)

RGB channels and saturation

R 56 of 255 = 22%
G 28 of 255 = 11%
B 135 of 255 = 53%

56
28
135

R + G + B ~ 29%. #381C87 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 56 + 28 + 135 = 219 (100%)
R 56 of 219 ~ 25.57%
G 28 of 219 ~ 12.79%
B 135 of 219 ~ 61.64'%

%25.57
%12.79
%61.64

CMYK color model

#381C87 color CMYK value is (59,79,0,47).

  • cyan value is 58.52%
  • magenta value is 79.26%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK: (59,79,0,47) C59M79Y0K47 (59%,79%,0%,47%) (0.59/0.79/0.00/0.47) 

CMYK percentages

%58.52
%79.26
%0
%47.06

Codes

Color #381C87 in popluar color models

38 1C 87
RGB 56 28 135
HSL 256° 65.64% 31.96%
HSB/HSV 256° 79.26% 52.94%
CMYK 58.52% 79.26% 0.00%
47.06%

Color #381C87 in popluar number systems.

HEX 38 1C 87
Decimal 56 28 135
Binary 111000 11100 10000111
Octal 70 34 207

Shades and tints

Shades of #381C87

#381C87
(56,28,135)
#331A7B
(51,26,123)
#2E186F
(46,24,111)
#291663
(41,22,99)
#241457
(36,20,87)
#1F124B
(31,18,75)
#1A103F
(26,16,63)
#150E33
(21,14,51)
#100C27
(16,12,39)
#0B0A1B
(11,10,27)
#06080F
(6,8,15)
#000000
(0,0,0)

Tints of #381C87

#381C87
(56,28,135)
#4A3091
(74,48,145)
#5C449B
(92,68,155)
#6E58A5
(110,88,165)
#806CAF
(128,108,175)
#9280B9
(146,128,185)
#A494C3
(164,148,195)
#B6A8CD
(182,168,205)
#C8BCD7
(200,188,215)
#DAD0E1
(218,208,225)
#ECE4EB
(236,228,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #381C87 color. Also use rgb(56,28,135) instead hex code.

Text Font Color

.myTextColor { color: #381C87; }

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

This text font color is #381C87.

Background Color

.myBgColor { background-color: #381C87; }

<div style="background-color:#381C87">Inner text</div>

This div background color is #381C87.

Border color

.myBorderColor { border: 1px solid #381C87; }

<div style="border:3px solid #381C87">Div</div>

This div border color is #381C87.

Opacity

.myOpacity80 { color: #381C87; opacity: 0.8; }

<p style="color:#381C87;opacity:0.8;">80%</p>

Text with #381C87 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 #381C87;}

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

This text has shadow with #381C87 color.


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

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

This text has shadow with #381C87 primary color and red secondary color.


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

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

This text has shadow with #381C87 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #381C87.

Preview

Color preview on black background

This text has color #381C87 on black background.


Color preview on white background

This text has color #381C87 on white background.


Black color preview on #381C87 background

This text has black color on #381C87 background.


White color preview on #381C87 background

This text has white color on #381C87 background.


Related colors

Complementary color

Complementary color for #hex is #C7E378.


I love getcolorcode.com

Triadic colors

1 #87381C and #1C8738 with #381C87 are triadic colors.

2 #871C38 and #1C3887 with #381C87 are triadic colors.