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