#7871CD
Blue
HEX
RGB
HSL
About #7871CD Blue
#7871CD is a blue color. In the RGB color model, it is composed of 120 red, 113 green, and 205 blue. In the HSL color space, it has a hue of 245°, saturation of 48%, and lightness of 62%.
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 #7871CD in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
245°
Hue
48%
Saturation
62%
Lightness
Blue
Color Harmonies
Colors that work well with #7871CD based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7871CD against white and black backgrounds.
Aa#7871CD on White
Contrast Ratio4.16:1
AA ✗AA Large ✓AAA ✗
Aa#7871CD on Black
Contrast Ratio5.04:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7871CD across different color formats.
| Format | Value |
|---|---|
| HEX | #7871CD |
| RGB | rgb(120, 113, 205) |
| HSL | hsl(245, 48%, 62%) |
| RGB Decimal | 120, 113, 205 |
| RGB Percent | 47.1%, 44.3%, 80.4% |
| CMYK (approx.) | 41%, 45%, 0%, 20% |
Related Palettes
12 palettes using #7871CD or similar colors