#5040BA
Blue
HEX
RGB
HSL
About #5040BA Blue
#5040BA is a blue color. In the RGB color model, it is composed of 80 red, 64 green, and 186 blue. In the HSL color space, it has a hue of 248°, saturation of 49%, 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
Use #5040BA in your CSS, SCSS, or Tailwind projects.
Color Properties
248°
Hue
49%
Saturation
49%
Lightness
Blue
Color Harmonies
Colors that work well with #5040BA based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5040BA against white and black backgrounds.
Aa#5040BA on White
Contrast Ratio7.54:1
AA ✓AA Large ✓AAA ✓
Aa#5040BA on Black
Contrast Ratio2.78:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5040BA across different color formats.
| Format | Value |
|---|---|
| HEX | #5040BA |
| RGB | rgb(80, 64, 186) |
| HSL | hsl(248, 49%, 49%) |
| RGB Decimal | 80, 64, 186 |
| RGB Percent | 31.4%, 25.1%, 72.9% |
| CMYK (approx.) | 57%, 66%, 0%, 27% |
Related Palettes
12 palettes using #5040BA or similar colors