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