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