#2B2171
Blue
HEX
RGB
HSL
About #2B2171 Blue
#2B2171 is a blue color. In the RGB color model, it is composed of 43 red, 33 green, and 113 blue. In the HSL color space, it has a hue of 248°, saturation of 55%, and lightness of 29%.
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 & Gradients
Use #2B2171 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
248°
Hue
55%
Saturation
29%
Lightness
Blue
Color Harmonies
Colors that work well with #2B2171 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2B2171 against white and black backgrounds.
Aa#2B2171 on White
Contrast Ratio13.47:1
AA ✓AA Large ✓AAA ✓
Aa#2B2171 on Black
Contrast Ratio1.56:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2B2171 across different color formats.
| Format | Value |
|---|---|
| HEX | #2B2171 |
| RGB | rgb(43, 33, 113) |
| HSL | hsl(248, 55%, 29%) |
| RGB Decimal | 43, 33, 113 |
| RGB Percent | 16.9%, 12.9%, 44.3% |
| CMYK (approx.) | 62%, 71%, 0%, 56% |
Related Palettes
12 palettes using #2B2171 or similar colors