COLOR #381796

HEX: #381796 RGB: (56,23,150)

Color info

#381796 contains mainly blue color. Web safe color of #381796 is #330099 (or #309).

RGB color model

#381796 color RGB value is (56,23,150).

RGB: (56,23,150) (22%, 9%, 59%)

RGB channels and saturation

R 56 of 255 = 22%
G 23 of 255 = 9%
B 150 of 255 = 59%

56
23
150

R + G + B ~ 30%. #381796 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 56 + 23 + 150 = 229 (100%)
R 56 of 229 ~ 24.45%
G 23 of 229 ~ 10.04%
B 150 of 229 ~ 65.5'%

%24.45
%65.5

CMYK color model

#381796 color CMYK value is (63,85,0,41).

  • cyan value is 62.67%
  • magenta value is 84.67%
  • yellow value is 0.00%
  • key color value is 41.18%

CMYK: (63,85,0,41)
C63M85Y0K41 (63%, 85%, 0%, 41%)
(0.63 / 0.85 / 0.00 / 0.41)

CMYK percentages

%62.67
%84.67
%0
%41.18

Codes

Color #381796 in popluar color models

38 17 96
RGB 56 23 150
HSL 256° 73.41% 33.92%
HSB/HSV 256° 84.67% 58.82%
CMYK 62.67% 84.67% 0.00%
41.18%

Color #381796 in popluar number systems.

HEX 38 17 96
Decimal 56 23 150
Binary 111000 10111 10010110
Octal 70 27 226

Shades and tints

Shades of #381796

#381796
(56,23,150)
#331589
(51,21,137)
#2E137C
(46,19,124)
#29116F
(41,17,111)
#240F62
(36,15,98)
#1F0D55
(31,13,85)
#1A0B48
(26,11,72)
#15093B
(21,9,59)
#10072E
(16,7,46)
#0B0521
(11,5,33)
#060314
(6,3,20)
#000000
(0,0,0)

Tints of #381796

#381796
(56,23,150)
#4A2C9F
(74,44,159)
#5C41A8
(92,65,168)
#6E56B1
(110,86,177)
#806BBA
(128,107,186)
#9280C3
(146,128,195)
#A495CC
(164,149,204)
#B6AAD5
(182,170,213)
#C8BFDE
(200,191,222)
#DAD4E7
(218,212,231)
#ECE9F0
(236,233,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #381796 color. Also use rgb(56,23,150) instead hex code.

Text Font Color

.myTextColor { color: #381796; }

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

This text font color is #381796.

Background Color

.myBgColor { background-color: #381796; }

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

This div background color is #381796.

Border color

.myBorderColor { border: 1px solid #381796; }

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

This div border color is #381796.

Opacity

.myOpacity80 { color: #381796; opacity: 0.8; }

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

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

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

This text has shadow with #381796 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #381796.

Preview

Color preview on black background

This text has color #381796 on black background.


Color preview on white background

This text has color #381796 on white background.


Black color preview on #381796 background

This text has black color on #381796 background.


White color preview on #381796 background

This text has white color on #381796 background.


Related colors

Complementary color

Complementary color for #hex is #C7E869.


I love getcolorcode.com

Triadic colors

1 #963817 and #179638 with #381796 are triadic colors.

2 #961738 and #173896 with #381796 are triadic colors.