#5F51C8
Blue
HEX
RGB
HSL
About #5F51C8 Blue
#5F51C8 is a blue color. In the RGB color model, it is composed of 95 red, 81 green, and 200 blue. In the HSL color space, it has a hue of 247°, saturation of 52%, and lightness of 55%.
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 #5F51C8 in your CSS, SCSS, or Tailwind projects.
Color Properties
247°
Hue
52%
Saturation
55%
Lightness
Blue
Color Harmonies
Colors that work well with #5F51C8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5F51C8 against white and black backgrounds.
Aa#5F51C8 on White
Contrast Ratio6:1
AA ✓AA Large ✓AAA ✗
Aa#5F51C8 on Black
Contrast Ratio3.5:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #5F51C8 across different color formats.
| Format | Value |
|---|---|
| HEX | #5F51C8 |
| RGB | rgb(95, 81, 200) |
| HSL | hsl(247, 52%, 55%) |
| RGB Decimal | 95, 81, 200 |
| RGB Percent | 37.3%, 31.8%, 78.4% |
| CMYK (approx.) | 52%, 60%, 0%, 22% |
Related Palettes
12 palettes using #5F51C8 or similar colors