#2C51A0
Blue
HEX
RGB
HSL
About #2C51A0 Blue
#2C51A0 is a blue color. In the RGB color model, it is composed of 44 red, 81 green, and 160 blue. In the HSL color space, it has a hue of 221°, saturation of 57%, 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 #2C51A0 in your CSS, SCSS, or Tailwind projects.
Color Properties
221°
Hue
57%
Saturation
40%
Lightness
Blue
Color Harmonies
Colors that work well with #2C51A0 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2C51A0 against white and black backgrounds.
Aa#2C51A0 on White
Contrast Ratio7.52:1
AA ✓AA Large ✓AAA ✓
Aa#2C51A0 on Black
Contrast Ratio2.79:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2C51A0 across different color formats.
| Format | Value |
|---|---|
| HEX | #2C51A0 |
| RGB | rgb(44, 81, 160) |
| HSL | hsl(221, 57%, 40%) |
| RGB Decimal | 44, 81, 160 |
| RGB Percent | 17.3%, 31.8%, 62.7% |
| CMYK (approx.) | 73%, 49%, 0%, 37% |
Related Palettes
12 palettes using #2C51A0 or similar colors