#042AFB Hex color

#042AFB

The hexadecimal color code #042AFB corresponds to the code RGB( 4, 42, 251 ). It's a shade of Blue. This color is a combination of red (at 0,02 level), green (at 0,16 level) and blue (at 0,98 level). Its brightness is 50% and its saturation is 96%. It is composed of red at 1%, green at 14% and blue at 84%. The dominant component is blue.


Features

Hue

Saturation

Brightness

231
96
50
Shade of Blue
Hex Code #042AFB
RGB Code rgb( 4 , 42 , 251)
RGB Code Percentagergb( 1.6% , 16.5% , 98.4% )
HSLhsl( 231 , 96% , 50% )
Complementary
Color
#FBD504


Variations of #042AFB

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #042AFB is the color #E5E9FE

#042afb

Darker Shades

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

#042afb

Other Shades of Blue

Examples of other colors within the Blue spectrum .

See more



Color Palettes

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

Complementary color palette

#042AFB

Triadic palette



Uses of #042AFB in CSS

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

#042AFB as background color

Black text
White text
div{ background: #042AFB;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: