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