#2A1F9E

Blue

HEX

RGB

HSL

About #2A1F9E Blue

#2A1F9E is a blue color. In the RGB color model, it is composed of 42 red, 31 green, and 158 blue. In the HSL color space, it has a hue of 245°, saturation of 67%, and lightness of 37%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #2A1F9E in your CSS, SCSS, or Tailwind projects.

Color Properties

245°

Hue

67%

Saturation

37%

Lightness

Blue

Color Harmonies

Colors that work well with #2A1F9E based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #2A1F9E against white and black backgrounds.

Aa#2A1F9E on White
Contrast Ratio11.74:1
AA AA Large AAA
Aa#2A1F9E on Black
Contrast Ratio1.79:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #2A1F9E across different color formats.

FormatValue
HEX#2A1F9E
RGBrgb(42, 31, 158)
HSLhsl(245, 67%, 37%)
RGB Decimal42, 31, 158
RGB Percent16.5%, 12.2%, 62.0%
CMYK (approx.)73%, 80%, 0%, 38%

Related Palettes

12 palettes using #2A1F9E or similar colors

#2523A9#8F33E5#ED78EB#F6BBD8
#3425A7#9F3CDC#E184D6#F6BCD2
#3628A4#A037E2#E184D6#F1C1D3
#3A27A5#A734E4#E67FD6#F4BED1
#2630A6#8042D6#E279EC#F7BADE
#281BB1#993EDB#EE77E4#F1C1D5
#3A20AC#AB38E0#EC79D7#F2BFCF
#3B1FAD#AD3BDE#E97CD3#F4BDCE
#2917B5#A037E2#EB7ADE#F7BAD2
#1E2FAE#7B41D8#DB7DE8#F7BAE0
#0E0F25#161850#272A72#353997
#2138AB#6F35E3#D57FE6#F6BCE2