#2A5FCF
Blue
HEX
RGB
HSL
About #2A5FCF Blue
#2A5FCF is a blue color. In the RGB color model, it is composed of 42 red, 95 green, and 207 blue. In the HSL color space, it has a hue of 221°, saturation of 66%, and lightness of 49%.
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 #2A5FCF in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
221°
Hue
66%
Saturation
49%
Lightness
Blue
Color Harmonies
Colors that work well with #2A5FCF based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A5FCF against white and black backgrounds.
Aa#2A5FCF on White
Contrast Ratio5.78:1
AA ✓AA Large ✓AAA ✗
Aa#2A5FCF on Black
Contrast Ratio3.64:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #2A5FCF across different color formats.
| Format | Value |
|---|---|
| HEX | #2A5FCF |
| RGB | rgb(42, 95, 207) |
| HSL | hsl(221, 66%, 49%) |
| RGB Decimal | 42, 95, 207 |
| RGB Percent | 16.5%, 37.3%, 81.2% |
| CMYK (approx.) | 80%, 54%, 0%, 19% |
Related Palettes
12 palettes using #2A5FCF or similar colors