#1D51A5
Blue
HEX
RGB
HSL
About #1D51A5 Blue
#1D51A5 is a blue color. In the RGB color model, it is composed of 29 red, 81 green, and 165 blue. In the HSL color space, it has a hue of 217°, saturation of 70%, and lightness of 38%.
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 & Gradients
Use #1D51A5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
217°
Hue
70%
Saturation
38%
Lightness
Blue
Color Harmonies
Colors that work well with #1D51A5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1D51A5 against white and black backgrounds.
Aa#1D51A5 on White
Contrast Ratio7.57:1
AA ✓AA Large ✓AAA ✓
Aa#1D51A5 on Black
Contrast Ratio2.77:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1D51A5 across different color formats.
| Format | Value |
|---|---|
| HEX | #1D51A5 |
| RGB | rgb(29, 81, 165) |
| HSL | hsl(217, 70%, 38%) |
| RGB Decimal | 29, 81, 165 |
| RGB Percent | 11.4%, 31.8%, 64.7% |
| CMYK (approx.) | 82%, 51%, 0%, 35% |
Related Palettes
12 palettes using #1D51A5 or similar colors