#5151D5
Blue
HEX
RGB
HSL
About #5151D5 Blue
#5151D5 is a blue color. In the RGB color model, it is composed of 81 red, 81 green, and 213 blue. In the HSL color space, it has a hue of 240°, saturation of 61%, and lightness of 58%.
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 #5151D5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
240°
Hue
61%
Saturation
58%
Lightness
Blue
Color Harmonies
Colors that work well with #5151D5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5151D5 against white and black backgrounds.
Aa#5151D5 on White
Contrast Ratio6.02:1
AA ✓AA Large ✓AAA ✗
Aa#5151D5 on Black
Contrast Ratio3.49:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #5151D5 across different color formats.
| Format | Value |
|---|---|
| HEX | #5151D5 |
| RGB | rgb(81, 81, 213) |
| HSL | hsl(240, 61%, 58%) |
| RGB Decimal | 81, 81, 213 |
| RGB Percent | 31.8%, 31.8%, 83.5% |
| CMYK (approx.) | 62%, 62%, 0%, 16% |
Related Palettes
12 palettes using #5151D5 or similar colors