#04181F
Dark Blue
HEX
RGB
HSL
About #04181F Dark Blue
#04181F is a dark blue color. In the RGB color model, it is composed of 4 red, 24 green, and 31 blue. In the HSL color space, it has a hue of 196°, saturation of 77%, and lightness of 7%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #04181F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
196°
Hue
77%
Saturation
7%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #04181F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #04181F against white and black backgrounds.
Aa#04181F on White
Contrast Ratio18.17:1
AA ✓AA Large ✓AAA ✓
Aa#04181F on Black
Contrast Ratio1.16:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #04181F across different color formats.
| Format | Value |
|---|---|
| HEX | #04181F |
| RGB | rgb(4, 24, 31) |
| HSL | hsl(196, 77%, 7%) |
| RGB Decimal | 4, 24, 31 |
| RGB Percent | 1.6%, 9.4%, 12.2% |
| CMYK (approx.) | 87%, 23%, 0%, 88% |
Related Palettes
12 palettes using #04181F or similar colors