COLOR #0C1538

HEX: #0C1538 RGB: (12,21,56)

Color info

#0C1538 contains red, green and blue colors in about the same proportion. Web safe color of #0C1538 is #000033 (or #003).

RGB color model

#0C1538 color RGB value is (12,21,56).

RGB: (12,21,56) (5%, 8%, 22%)

RGB channels and saturation

R 12 of 255 = 5%
G 21 of 255 = 8%
B 56 of 255 = 22%

12
21
56

R + G + B ~ 12%. #0C1538 is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 21 + 56 = 89 (100%)
R 12 of 89 ~ 13.48%
G 21 of 89 ~ 23.6%
B 56 of 89 ~ 62.92'%

%13.48
%23.6
%62.92

CMYK color model

#0C1538 color CMYK value is (79,63,0,78).

  • cyan value is 78.57%
  • magenta value is 62.50%
  • yellow value is 0.00%
  • key color value is 78.04%
CMYK: (79,63,0,78) C79M63Y0K78 (79%,63%,0%,78%) (0.79/0.63/0.00/0.78) 

CMYK percentages

%78.57
%62.5
%0
%78.04

Codes

Color #0C1538 in popluar color models

0C 15 38
RGB 12 21 56
HSL 228° 64.71% 13.33%
HSB/HSV 228° 78.57% 21.96%
CMYK 78.57% 62.50% 0.00%
78.04%

Color #0C1538 in popluar number systems.

HEX 0C 15 38
Decimal 12 21 56
Binary 1100 10101 111000
Octal 14 25 70

Shades and tints

Shades of #0C1538

#0C1538
(12,21,56)
#0B1433
(11,20,51)
#0A132E
(10,19,46)
#091229
(9,18,41)
#081124
(8,17,36)
#07101F
(7,16,31)
#060F1A
(6,15,26)
#050E15
(5,14,21)
#040D10
(4,13,16)
#030C0B
(3,12,11)
#020B06
(2,11,6)
#000000
(0,0,0)

Tints of #0C1538

#0C1538
(12,21,56)
#222A4A
(34,42,74)
#383F5C
(56,63,92)
#4E546E
(78,84,110)
#646980
(100,105,128)
#7A7E92
(122,126,146)
#9093A4
(144,147,164)
#A6A8B6
(166,168,182)
#BCBDC8
(188,189,200)
#D2D2DA
(210,210,218)
#E8E7EC
(232,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1538 color. Also use rgb(12,21,56) instead hex code.

Text Font Color

.myTextColor { color: #0C1538; }

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

This text font color is #0C1538.

Background Color

.myBgColor { background-color: #0C1538; }

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

This div background color is #0C1538.

Border color

.myBorderColor { border: 1px solid #0C1538; }

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

This div border color is #0C1538.

Opacity

.myOpacity80 { color: #0C1538; opacity: 0.8; }

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

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

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

This text has shadow with #0C1538 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C1538.

Preview

Color preview on black background

This text has color #0C1538 on black background.


Color preview on white background

This text has color #0C1538 on white background.


Black color preview on #0C1538 background

This text has black color on #0C1538 background.


White color preview on #0C1538 background

This text has white color on #0C1538 background.


Related colors

Complementary color

Complementary color for #hex is #F3EAC7.


I love getcolorcode.com

Triadic colors

1 #380C15 and #15380C with #0C1538 are triadic colors.

2 #38150C and #150C38 with #0C1538 are triadic colors.