#04081E
Dark Blue
HEX
RGB
HSL
About #04081E Dark Blue
#04081E is a dark blue color. In the RGB color model, it is composed of 4 red, 8 green, and 30 blue. In the HSL color space, it has a hue of 231°, saturation of 76%, 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 #04081E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
231°
Hue
76%
Saturation
7%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #04081E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #04081E against white and black backgrounds.
Aa#04081E on White
Contrast Ratio19.84:1
AA ✓AA Large ✓AAA ✓
Aa#04081E on Black
Contrast Ratio1.06:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #04081E across different color formats.
| Format | Value |
|---|---|
| HEX | #04081E |
| RGB | rgb(4, 8, 30) |
| HSL | hsl(231, 76%, 7%) |
| RGB Decimal | 4, 8, 30 |
| RGB Percent | 1.6%, 3.1%, 11.8% |
| CMYK (approx.) | 87%, 73%, 0%, 88% |
Related Palettes
12 palettes using #04081E or similar colors