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