#042040 Hex color

#042040

The hexadecimal color code #042040 corresponds to the code RGB( 4, 32, 64 ). It's a shade of Blue. This color is a combination of red (at 0,02 level), green (at 0,13 level) and blue (at 0,25 level). Its brightness is 13% and its saturation is 88%. It is composed of red at 4%, green at 32% and blue at 64%. The dominant component is blue.


Features

Hue

Saturation

Brightness

212
88
13
Shade of Blue
Hex Code #042040
RGB Code rgb( 4 , 32 , 64)
RGB Code Percentagergb( 1.6% , 12.5% , 25.1% )
HSLhsl( 212 , 88% , 13% )
Complementary
Color
#FBDFBF


Variations of #042040

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #042040 is the color #E5E8EB

#042040

Darker Shades

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

#042040

Other Shades of Blue

Examples of other colors within the Blue spectrum .

See more



Color Palettes

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

Complementary color palette

#042040

Triadic palette



Uses of #042040 in CSS

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

#042040 as background color

Black text
White text
div{ background: #042040;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: