#2872CC
Blue
HEX
RGB
HSL
About #2872CC Blue
#2872CC is a blue color. In the RGB color model, it is composed of 40 red, 114 green, and 204 blue. In the HSL color space, it has a hue of 213°, saturation of 67%, and lightness of 48%.
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
Use #2872CC in your CSS, SCSS, or Tailwind projects.
Color Properties
213°
Hue
67%
Saturation
48%
Lightness
Blue
Color Harmonies
Colors that work well with #2872CC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2872CC against white and black backgrounds.
Aa#2872CC on White
Contrast Ratio4.81:1
AA ✓AA Large ✓AAA ✗
Aa#2872CC on Black
Contrast Ratio4.37:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #2872CC across different color formats.
| Format | Value |
|---|---|
| HEX | #2872CC |
| RGB | rgb(40, 114, 204) |
| HSL | hsl(213, 67%, 48%) |
| RGB Decimal | 40, 114, 204 |
| RGB Percent | 15.7%, 44.7%, 80.0% |
| CMYK (approx.) | 80%, 44%, 0%, 20% |
Related Palettes
12 palettes using #2872CC or similar colors