#2A1FAF Hex color

#2A1FAF

The hexadecimal color code #2A1FAF corresponds to the code RGB( 42, 31, 175 ). It's a shade of Blue. This color is a combination of red (at 0,16 level), green (at 0,12 level) and blue (at 0,69 level). Its brightness is 40% and its saturation is 69%. It is composed of red at 16%, green at 12% and blue at 70%. The dominant component is blue.


Features

Hue

Saturation

Brightness

245
69
40
Shade of Blue
Hex Code #2A1FAF
RGB Code rgb( 42 , 31 , 175)
RGB Code Percentagergb( 16.5% , 12.2% , 68.6% )
HSLhsl( 245 , 69% , 40% )
Complementary
Color
#D5E050


Variations of #2A1FAF

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #2A1FAF is the color #E9E8F7

#2a1faf

Darker Shades

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

#2a1faf

Other Shades of Blue

Examples of other colors within the Blue spectrum .

See more



Color Palettes

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

Complementary color palette

#2A1FAF

Triadic palette



Uses of #2A1FAF in CSS

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

#2A1FAF as background color

Black text
White text
div{ background: #2A1FAF;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: