#2A7FDF
Blue
HEX
RGB
HSL
About #2A7FDF Blue
#2A7FDF is a blue color. In the RGB color model, it is composed of 42 red, 127 green, and 223 blue. In the HSL color space, it has a hue of 212°, saturation of 74%, and lightness of 52%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #2A7FDF in your CSS, SCSS, or Tailwind projects.
Color Properties
212°
Hue
74%
Saturation
52%
Lightness
Blue
Color Harmonies
Colors that work well with #2A7FDF based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A7FDF against white and black backgrounds.
Aa#2A7FDF on White
Contrast Ratio4.04:1
AA ✗AA Large ✓AAA ✗
Aa#2A7FDF on Black
Contrast Ratio5.2:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #2A7FDF across different color formats.
| Format | Value |
|---|---|
| HEX | #2A7FDF |
| RGB | rgb(42, 127, 223) |
| HSL | hsl(212, 74%, 52%) |
| RGB Decimal | 42, 127, 223 |
| RGB Percent | 16.5%, 49.8%, 87.5% |
| CMYK (approx.) | 81%, 43%, 0%, 13% |
Related Palettes
12 palettes using #2A7FDF or similar colors