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