CUSTOM

#04070C

#04070C
Conversions
HEX#04070C
RGBrgb(4, 7, 12)
HSLhsl(218, 50%, 3%)
HSVhsv(218, 67%, 5%)
CMYKcmyk(67%, 42%, 0%, 95%)
Copy CSS
color: #04070c; /* rgb */ color: rgb(4, 7, 12); /* hsl */ color: hsl(218, 50%, 3%);
Contrast
On white20.18 : 1
On ink black1.05 : 1

About #04070C

#04070C is the hex color #04070C, which translates to rgb(4, 7, 12) in RGB and hsl(218, 50%, 3%) in HSL. On the color wheel it sits at 218 degrees, with a saturation of 50 percent and a lightness of 3 percent. In the custom family, it reads as a deep shade.

Using #04070C in a design

Text placed directly on #04070C is most legible in white, which is why the swatch above uses it. For a full interface, pull light steps from the tint strip for backgrounds and dark steps from the shade strip for text and borders, keeping a single consistent hue throughout. Always confirm a given pair in the contrast checker before shipping.

Building a palette around #04070C

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside #04070C for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for #04070C

  • HEX: #04070C
  • RGB: rgb(4, 7, 12)
  • HSL: hsl(218, 50%, 3%)
  • HSV: hsv(218, 67%, 5%)
  • CMYK: cmyk(67%, 42%, 0%, 95%)

Related