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