#04020c Color Information

In a RGB color space, hex #04020c is composed of 1.6% red, 0.8% green and 4.7% blue. Whereas in a CMYK color space, it is composed of 66.7% cyan, 83.3% magenta, 0% yellow and 95.3% black. It has a hue angle of 252 degrees, a saturation of 71.4% and a lightness of 2.7%. #04020c color hex could be obtained by blending #080418 with #000000. Closest websafe color is: #000000.

    • R 2
    • G 1
    • B 5
    RGB color chart
    • C 67
    • M 83
    • Y 0
    • K 95
    CMYK color chart

#04020c color description : Very dark (mostly black) blue.

#04020c Color Conversion

The hexadecimal color #04020c has RGB values of R:4, G:2, B:12 and CMYK values of C:0.67, M:0.83, Y:0, K:0.95. Its decimal value is 262668.

Hex triplet 04020c #04020c
RGB Decimal 4, 2, 12 rgb(4,2,12)
RGB Percent 1.6, 0.8, 4.7 rgb(1.6%,0.8%,4.7%)
CMYK 67, 83, 0, 95
HSL 252°, 71.4, 2.7 hsl(252,71.4%,2.7%)
HSV (or HSB) 252°, 83.3, 4.7
Web Safe 000000 #000000
CIE-LAB 0.865, 1.929, -3.644
XYZ 0.138, 0.096, 0.359
xyY 0.233, 0.162, 0.096
CIE-LCH 0.865, 4.123, 297.902
CIE-LUV 0.865, 0.118, -1.611
Hunter-Lab 3.095, 2.551, -4.712
Binary 00000100, 00000010, 00001100

Color Schemes with #04020c

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #04020c

Below, you can see some colors close to #04020c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#04020c Preview

Text with hexadecimal color #04020c

This text has a font color of #04020c.

<span style="color:#04020c;">Text here</span>
#04020c background color

This paragraph has a background color of #04020c.

<p style="background-color:#04020c;">Content here</p>
#04020c border color

This element has a border color of #04020c.

<div style="border:1px solid #04020c;">Content here</div>
CSS codes
.text {color:#04020c;}
.background {background-color:#04020c;}
.border {border:1px solid #04020c;}

Shades and Tints of #04020c

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #04020c is the darkest color, while #fbfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #04020c

A tone is produced by adding gray to any pure hue. In this case, #070707 is the less saturated color, while #03000e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04020c is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

  • #040404 Achromatopsia 0.005% of the population
  • #040406 Atypical Achromatopsia 0.001% of the population
  • #030d1a Protanopia 1% of men
  • #030e17 Deuteranopia 1% of men
  • #0c0e0f Tritanopia 0.001% of the population
  • #030915 Protanomaly 1% of men, 0.01% of women
  • #030913 Deuteranomaly 6% of men, 0.4% of women
  • #09090e Tritanomaly 0.01% of the population