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