COLOR #0C2D5F

HEX: #0C2D5F RGB: (12,45,95)

Color info

#0C2D5F contains mainly green and blue colors. Web safe color of #0C2D5F is #003366 (or #036).

RGB color model

#0C2D5F color RGB value is (12,45,95).

RGB: (12,45,95) (5%, 18%, 37%)

RGB channels and saturation

R 12 of 255 = 5%
G 45 of 255 = 18%
B 95 of 255 = 37%

12
45
95

R + G + B ~ 20%. #0C2D5F is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 45 + 95 = 152 (100%)
R 12 of 152 ~ 7.89%
G 45 of 152 ~ 29.61%
B 95 of 152 ~ 62.5'%

%29.61
%62.5

CMYK color model

#0C2D5F color CMYK value is (87,53,0,63).

  • cyan value is 87.37%
  • magenta value is 52.63%
  • yellow value is 0.00%
  • key color value is 62.75%

CMYK: (87,53,0,63)
C87M53Y0K63 (87%, 53%, 0%, 63%)
(0.87 / 0.53 / 0.00 / 0.63)

CMYK percentages

%87.37
%52.63
%0
%62.75

Codes

Color #0C2D5F in popluar color models

0C 2D 5F
RGB 12 45 95
HSL 216° 77.57% 20.98%
HSB/HSV 216° 87.37% 37.25%
CMYK 87.37% 52.63% 0.00%
62.75%

Color #0C2D5F in popluar number systems.

HEX 0C 2D 5F
Decimal 12 45 95
Binary 1100 101101 1011111
Octal 14 55 137

Shades and tints

Shades of #0C2D5F

#0C2D5F
(12,45,95)
#0B2957
(11,41,87)
#0A254F
(10,37,79)
#092147
(9,33,71)
#081D3F
(8,29,63)
#071937
(7,25,55)
#06152F
(6,21,47)
#051127
(5,17,39)
#040D1F
(4,13,31)
#030917
(3,9,23)
#02050F
(2,5,15)
#000000
(0,0,0)

Tints of #0C2D5F

#0C2D5F
(12,45,95)
#22406D
(34,64,109)
#38537B
(56,83,123)
#4E6689
(78,102,137)
#647997
(100,121,151)
#7A8CA5
(122,140,165)
#909FB3
(144,159,179)
#A6B2C1
(166,178,193)
#BCC5CF
(188,197,207)
#D2D8DD
(210,216,221)
#E8EBEB
(232,235,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C2D5F color. Also use rgb(12,45,95) instead hex code.

Text Font Color

.myTextColor { color: #0C2D5F; }

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

This text font color is #0C2D5F.

Background Color

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

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

This div background color is #0C2D5F.

Border color

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

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

This div border color is #0C2D5F.

Opacity

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

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

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

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

This text has shadow with #0C2D5F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C2D5F.

Preview

Color preview on black background

This text has color #0C2D5F on black background.


Color preview on white background

This text has color #0C2D5F on white background.


Black color preview on #0C2D5F background

This text has black color on #0C2D5F background.


White color preview on #0C2D5F background

This text has white color on #0C2D5F background.


Related colors

Complementary color

Complementary color for #hex is #F3D2A0.


I love getcolorcode.com

Triadic colors

1 #5F0C2D and #2D5F0C with #0C2D5F are triadic colors.

2 #5F2D0C and #2D0C5F with #0C2D5F are triadic colors.