#0C1F42 Hex color

The hexadecimal color code #0C1F42 corresponds to the code RGB( 12, 31, 66 ). It's a shade of Blue. This color is a combination of red (at 0,05 level), green (at 0,12 level) and blue (at 0,26 level). Its brightness is 15% and its saturation is 69%. It is composed of red at 11%, green at 28% and blue at 60%.


Features

Hue

Saturation

Brightness

219
69
15
Shade of Blue
Hex Code #0C1F42
RGB Code rgb( 12 , 31 , 66)
RGB Code Percentagergb( 4.7% , 12.2% , 25.9% )
HSLhsl( 219 , 69% , 15% )
Complementary
Color
#F3E0BD


Variations of #0C1F42

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #0C1F42 is the color #E6E8EC

#0c1f42

Darker Shades

Palette of progressively darker shades. The darkest shade is #010306.

#0c1f42

Other Shades of Blue

Examples of other colors within the Blue spectrum .

See more



Color Palettes

The complementary color #F3E0BD is the color exactly opposite to #0C1F42 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#0C1F42

Triadic palette



Uses of #0C1F42 in CSS

When using #0C1F42 as the background color, consider selecting a lighter text color for improved readability. If you want to use #0C1F42 as the text color, prefer a light background, such as Blanc.

#0C1F42 as background color

Black text
White text
div{ background: #0C1F42;  }

Colored text

With a white background or
with a dark background
div{ color: #0C1F42;  }

Border

#0C1F42 colored border with a width of 3px
div{ border: 3px solid #0C1F42;  }

Shadow

#0C1F42 shadow colored
div{ box-shadow: 3px 3px 7px #0C1F42; }

Similar Colors

Other color codes similar or equivalent to the specified color code #0C1F42.

Choose another color

Select another color on color wheel.

Selected color: