#5151EC
Blue
HEX
RGB
HSL
About #5151EC Blue
#5151EC is a blue color. In the RGB color model, it is composed of 81 red, 81 green, and 236 blue. In the HSL color space, it has a hue of 240°, saturation of 80%, and lightness of 62%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #5151EC in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
240°
Hue
80%
Saturation
62%
Lightness
Blue
Color Harmonies
Colors that work well with #5151EC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5151EC against white and black backgrounds.
Aa#5151EC on White
Contrast Ratio5.62:1
AA ✓AA Large ✓AAA ✗
Aa#5151EC on Black
Contrast Ratio3.74:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #5151EC across different color formats.
| Format | Value |
|---|---|
| HEX | #5151EC |
| RGB | rgb(81, 81, 236) |
| HSL | hsl(240, 80%, 62%) |
| RGB Decimal | 81, 81, 236 |
| RGB Percent | 31.8%, 31.8%, 92.5% |
| CMYK (approx.) | 66%, 66%, 0%, 7% |
Related Palettes
12 palettes using #5151EC or similar colors