#2040AC
Blue
HEX
RGB
HSL
About #2040AC Blue
#2040AC is a blue color. In the RGB color model, it is composed of 32 red, 64 green, and 172 blue. In the HSL color space, it has a hue of 226°, saturation of 69%, and lightness of 40%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #2040AC in your CSS, SCSS, or Tailwind projects.
Color Properties
226°
Hue
69%
Saturation
40%
Lightness
Blue
Color Harmonies
Colors that work well with #2040AC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2040AC against white and black backgrounds.
Aa#2040AC on White
Contrast Ratio8.78:1
AA ✓AA Large ✓AAA ✓
Aa#2040AC on Black
Contrast Ratio2.39:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2040AC across different color formats.
| Format | Value |
|---|---|
| HEX | #2040AC |
| RGB | rgb(32, 64, 172) |
| HSL | hsl(226, 69%, 40%) |
| RGB Decimal | 32, 64, 172 |
| RGB Percent | 12.5%, 25.1%, 67.5% |
| CMYK (approx.) | 81%, 63%, 0%, 33% |
Related Palettes
12 palettes using #2040AC or similar colors