#1D1F54
Dark Blue
HEX
RGB
HSL
About #1D1F54 Dark Blue
#1D1F54 is a dark blue color. In the RGB color model, it is composed of 29 red, 31 green, and 84 blue. In the HSL color space, it has a hue of 238°, saturation of 49%, and lightness of 22%.
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 #1D1F54 in your CSS, SCSS, or Tailwind projects.
Color Properties
238°
Hue
49%
Saturation
22%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #1D1F54 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1D1F54 against white and black backgrounds.
Aa#1D1F54 on White
Contrast Ratio15.26:1
AA ✓AA Large ✓AAA ✓
Aa#1D1F54 on Black
Contrast Ratio1.38:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1D1F54 across different color formats.
| Format | Value |
|---|---|
| HEX | #1D1F54 |
| RGB | rgb(29, 31, 84) |
| HSL | hsl(238, 49%, 22%) |
| RGB Decimal | 29, 31, 84 |
| RGB Percent | 11.4%, 12.2%, 32.9% |
| CMYK (approx.) | 65%, 63%, 0%, 67% |
Related Palettes
12 palettes using #1D1F54 or similar colors