#2F21AB
Blue
HEX
RGB
HSL
About #2F21AB Blue
#2F21AB is a blue color. In the RGB color model, it is composed of 47 red, 33 green, and 171 blue. In the HSL color space, it has a hue of 246°, saturation of 68%, and lightness of 40%.
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 #2F21AB in your CSS, SCSS, or Tailwind projects.
Color Properties
246°
Hue
68%
Saturation
40%
Lightness
Blue
Color Harmonies
Colors that work well with #2F21AB based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2F21AB against white and black backgrounds.
Aa#2F21AB on White
Contrast Ratio10.9:1
AA ✓AA Large ✓AAA ✓
Aa#2F21AB on Black
Contrast Ratio1.93:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2F21AB across different color formats.
| Format | Value |
|---|---|
| HEX | #2F21AB |
| RGB | rgb(47, 33, 171) |
| HSL | hsl(246, 68%, 40%) |
| RGB Decimal | 47, 33, 171 |
| RGB Percent | 18.4%, 12.9%, 67.1% |
| CMYK (approx.) | 73%, 81%, 0%, 33% |
Related Palettes
12 palettes using #2F21AB or similar colors