#1F51AD
Blue
HEX
RGB
HSL
About #1F51AD Blue
#1F51AD is a blue color. In the RGB color model, it is composed of 31 red, 81 green, and 173 blue. In the HSL color space, it has a hue of 219°, saturation of 70%, and lightness of 40%.
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 #1F51AD in your CSS, SCSS, or Tailwind projects.
Color Properties
219°
Hue
70%
Saturation
40%
Lightness
Blue
Color Harmonies
Colors that work well with #1F51AD based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F51AD against white and black backgrounds.
Aa#1F51AD on White
Contrast Ratio7.4:1
AA ✓AA Large ✓AAA ✓
Aa#1F51AD on Black
Contrast Ratio2.84:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F51AD across different color formats.
| Format | Value |
|---|---|
| HEX | #1F51AD |
| RGB | rgb(31, 81, 173) |
| HSL | hsl(219, 70%, 40%) |
| RGB Decimal | 31, 81, 173 |
| RGB Percent | 12.2%, 31.8%, 67.8% |
| CMYK (approx.) | 82%, 53%, 0%, 32% |
Related Palettes
12 palettes using #1F51AD or similar colors