COLOR #0C3148

HEX: #0C3148 RGB: (12,49,72)

Color info

#0C3148 contains mainly green and blue colors. Web safe color of #0C3148 is #003333 (or #033).

RGB color model

#0C3148 color RGB value is (12,49,72).

RGB: (12,49,72) (5%, 19%, 28%)

RGB channels and saturation

R 12 of 255 = 5%
G 49 of 255 = 19%
B 72 of 255 = 28%

12
49
72

R + G + B ~ 17%. #0C3148 is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 49 + 72 = 133 (100%)
R 12 of 133 ~ 9.02%
G 49 of 133 ~ 36.84%
B 72 of 133 ~ 54.14'%

%36.84
%54.14

CMYK color model

#0C3148 color CMYK value is (83,32,0,72).

  • cyan value is 83.33%
  • magenta value is 31.94%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK: (83,32,0,72) C83M32Y0K72 (83%,32%,0%,72%) (0.83/0.32/0.00/0.72) 

CMYK percentages

%83.33
%31.94
%0
%71.76

Codes

Color #0C3148 in popluar color models

0C 31 48
RGB 12 49 72
HSL 203° 71.43% 16.47%
HSB/HSV 203° 83.33% 28.24%
CMYK 83.33% 31.94% 0.00%
71.76%

Color #0C3148 in popluar number systems.

HEX 0C 31 48
Decimal 12 49 72
Binary 1100 110001 1001000
Octal 14 61 110

Shades and tints

Shades of #0C3148

#0C3148
(12,49,72)
#0B2D42
(11,45,66)
#0A293C
(10,41,60)
#092536
(9,37,54)
#082130
(8,33,48)
#071D2A
(7,29,42)
#061924
(6,25,36)
#05151E
(5,21,30)
#041118
(4,17,24)
#030D12
(3,13,18)
#02090C
(2,9,12)
#000000
(0,0,0)

Tints of #0C3148

#0C3148
(12,49,72)
#224358
(34,67,88)
#385568
(56,85,104)
#4E6778
(78,103,120)
#647988
(100,121,136)
#7A8B98
(122,139,152)
#909DA8
(144,157,168)
#A6AFB8
(166,175,184)
#BCC1C8
(188,193,200)
#D2D3D8
(210,211,216)
#E8E5E8
(232,229,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C3148 color. Also use rgb(12,49,72) instead hex code.

Text Font Color

.myTextColor { color: #0C3148; }

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

This text font color is #0C3148.

Background Color

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

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

This div background color is #0C3148.

Border color

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

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

This div border color is #0C3148.

Opacity

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

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

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

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

This text has shadow with #0C3148 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C3148.

Preview

Color preview on black background

This text has color #0C3148 on black background.


Color preview on white background

This text has color #0C3148 on white background.


Black color preview on #0C3148 background

This text has black color on #0C3148 background.


White color preview on #0C3148 background

This text has white color on #0C3148 background.


Related colors

Complementary color

Complementary color for #hex is #F3CEB7.


I love getcolorcode.com

Triadic colors

1 #480C31 and #31480C with #0C3148 are triadic colors.

2 #48310C and #310C48 with #0C3148 are triadic colors.