#0C40CC Hex color

#0C40CC

The hexadecimal color code #0C40CC corresponds to the code RGB( 12, 64, 204 ). It's a shade of Blue. This color is a combination of red (at 0,05 level), green (at 0,25 level) and blue (at 0,80 level). Its brightness is 42% and its saturation is 88%. It is composed of red at 4%, green at 22% and blue at 72%. The dominant component is blue.


Features

Hue

Saturation

Brightness

224
88
42
Shade of Blue
Hex Code #0C40CC
RGB Code rgb( 12 , 64 , 204)
RGB Code Percentagergb( 4.7% , 25.1% , 80.0% )
HSLhsl( 224 , 88% , 42% )
Complementary
Color
#F3BF33


Variations of #0C40CC

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #0C40CC is the color #E6EBF9

#0c40cc

Darker Shades

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

#0c40cc

Other Shades of Blue

Examples of other colors within the Blue spectrum .

See more



Color Palettes

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

Complementary color palette

#0C40CC

Triadic palette



Uses of #0C40CC in CSS

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

#0C40CC as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: