#3871B2
Blue
HEX
RGB
HSL
About #3871B2 Blue
#3871B2 is a blue color. In the RGB color model, it is composed of 56 red, 113 green, and 178 blue. In the HSL color space, it has a hue of 212°, saturation of 52%, and lightness of 46%.
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 & Gradients
Use #3871B2 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
212°
Hue
52%
Saturation
46%
Lightness
Blue
Color Harmonies
Colors that work well with #3871B2 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #3871B2 against white and black backgrounds.
Aa#3871B2 on White
Contrast Ratio5.03:1
AA ✓AA Large ✓AAA ✗
Aa#3871B2 on Black
Contrast Ratio4.17:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #3871B2 across different color formats.
| Format | Value |
|---|---|
| HEX | #3871B2 |
| RGB | rgb(56, 113, 178) |
| HSL | hsl(212, 52%, 46%) |
| RGB Decimal | 56, 113, 178 |
| RGB Percent | 22.0%, 44.3%, 69.8% |
| CMYK (approx.) | 69%, 37%, 0%, 30% |
Related Palettes
12 palettes using #3871B2 or similar colors