#2A51CF
Blue
HEX
RGB
HSL
About #2A51CF Blue
#2A51CF is a blue color. In the RGB color model, it is composed of 42 red, 81 green, and 207 blue. In the HSL color space, it has a hue of 226°, saturation of 66%, and lightness of 49%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #2A51CF in your CSS, SCSS, or Tailwind projects.
Color Properties
226°
Hue
66%
Saturation
49%
Lightness
Blue
Color Harmonies
Colors that work well with #2A51CF based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A51CF against white and black backgrounds.
Aa#2A51CF on White
Contrast Ratio6.61:1
AA ✓AA Large ✓AAA ✗
Aa#2A51CF on Black
Contrast Ratio3.18:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #2A51CF across different color formats.
| Format | Value |
|---|---|
| HEX | #2A51CF |
| RGB | rgb(42, 81, 207) |
| HSL | hsl(226, 66%, 49%) |
| RGB Decimal | 42, 81, 207 |
| RGB Percent | 16.5%, 31.8%, 81.2% |
| CMYK (approx.) | 80%, 61%, 0%, 19% |
Related Palettes
12 palettes using #2A51CF or similar colors