#2240A5
Blue
HEX
RGB
HSL
About #2240A5 Blue
#2240A5 is a blue color. In the RGB color model, it is composed of 34 red, 64 green, and 165 blue. In the HSL color space, it has a hue of 226°, saturation of 66%, and lightness of 39%.
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 #2240A5 in your CSS, SCSS, or Tailwind projects.
Color Properties
226°
Hue
66%
Saturation
39%
Lightness
Blue
Color Harmonies
Colors that work well with #2240A5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2240A5 against white and black backgrounds.
Aa#2240A5 on White
Contrast Ratio8.96:1
AA ✓AA Large ✓AAA ✓
Aa#2240A5 on Black
Contrast Ratio2.34:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2240A5 across different color formats.
| Format | Value |
|---|---|
| HEX | #2240A5 |
| RGB | rgb(34, 64, 165) |
| HSL | hsl(226, 66%, 39%) |
| RGB Decimal | 34, 64, 165 |
| RGB Percent | 13.3%, 25.1%, 64.7% |
| CMYK (approx.) | 79%, 61%, 0%, 35% |
Related Palettes
12 palettes using #2240A5 or similar colors