#2A87C6
Blue
HEX
RGB
HSL
About #2A87C6 Blue
#2A87C6 is a blue color. In the RGB color model, it is composed of 42 red, 135 green, and 198 blue. In the HSL color space, it has a hue of 204°, saturation of 65%, and lightness of 47%.
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 #2A87C6 in your CSS, SCSS, or Tailwind projects.
Color Properties
204°
Hue
65%
Saturation
47%
Lightness
Blue
Color Harmonies
Colors that work well with #2A87C6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A87C6 against white and black backgrounds.
Aa#2A87C6 on White
Contrast Ratio3.9:1
AA ✗AA Large ✓AAA ✗
Aa#2A87C6 on Black
Contrast Ratio5.38:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #2A87C6 across different color formats.
| Format | Value |
|---|---|
| HEX | #2A87C6 |
| RGB | rgb(42, 135, 198) |
| HSL | hsl(204, 65%, 47%) |
| RGB Decimal | 42, 135, 198 |
| RGB Percent | 16.5%, 52.9%, 77.6% |
| CMYK (approx.) | 79%, 32%, 0%, 22% |
Related Palettes
12 palettes using #2A87C6 or similar colors