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