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