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