#2E2871
Blue
HEX
RGB
HSL
About #2E2871 Blue
#2E2871 is a blue color. In the RGB color model, it is composed of 46 red, 40 green, and 113 blue. In the HSL color space, it has a hue of 245°, saturation of 48%, and lightness of 30%.
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 #2E2871 in your CSS, SCSS, or Tailwind projects.
Color Properties
245°
Hue
48%
Saturation
30%
Lightness
Blue
Color Harmonies
Colors that work well with #2E2871 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2E2871 against white and black backgrounds.
Aa#2E2871 on White
Contrast Ratio12.66:1
AA ✓AA Large ✓AAA ✓
Aa#2E2871 on Black
Contrast Ratio1.66:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2E2871 across different color formats.
| Format | Value |
|---|---|
| HEX | #2E2871 |
| RGB | rgb(46, 40, 113) |
| HSL | hsl(245, 48%, 30%) |
| RGB Decimal | 46, 40, 113 |
| RGB Percent | 18.0%, 15.7%, 44.3% |
| CMYK (approx.) | 59%, 65%, 0%, 56% |
Related Palettes
12 palettes using #2E2871 or similar colors