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