#2A7CDF
Blue
HEX
RGB
HSL
About #2A7CDF Blue
#2A7CDF is a blue color. In the RGB color model, it is composed of 42 red, 124 green, and 223 blue. In the HSL color space, it has a hue of 213°, 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 #2A7CDF in your CSS, SCSS, or Tailwind projects.
Color Properties
213°
Hue
74%
Saturation
52%
Lightness
Blue
Color Harmonies
Colors that work well with #2A7CDF based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A7CDF against white and black backgrounds.
Aa#2A7CDF on White
Contrast Ratio4.16:1
AA ✗AA Large ✓AAA ✗
Aa#2A7CDF on Black
Contrast Ratio5.05:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #2A7CDF across different color formats.
| Format | Value |
|---|---|
| HEX | #2A7CDF |
| RGB | rgb(42, 124, 223) |
| HSL | hsl(213, 74%, 52%) |
| RGB Decimal | 42, 124, 223 |
| RGB Percent | 16.5%, 48.6%, 87.5% |
| CMYK (approx.) | 81%, 44%, 0%, 13% |
Related Palettes
12 palettes using #2A7CDF or similar colors