#040c12 Color Information

In a RGB color space, hex #040c12 is composed of 1.6% red, 4.7% green and 7.1% blue. Whereas in a CMYK color space, it is composed of 77.8% cyan, 33.3% magenta, 0% yellow and 92.9% black. It has a hue angle of 205.7 degrees, a saturation of 63.6% and a lightness of 4.3%. #040c12 color hex could be obtained by blending #081824 with #000000. Closest websafe color is: #000000.

    • R 2
    • G 5
    • B 7
    RGB color chart
    • C 78
    • M 33
    • Y 0
    • K 93
    CMYK color chart

#040c12 color description : Very dark (mostly black) blue.

#040c12 Color Conversion

The hexadecimal color #040c12 has RGB values of R:4, G:12, B:18 and CMYK values of C:0.78, M:0.33, Y:0, K:0.93. Its decimal value is 265234.

Hex triplet 040c12 #040c12
RGB Decimal 4, 12, 18 rgb(4,12,18)
RGB Percent 1.6, 4.7, 7.1 rgb(1.6%,4.7%,7.1%)
CMYK 78, 33, 0, 93
HSL 205.7°, 63.6, 4.3 hsl(205.7,63.6%,4.3%)
HSV (or HSB) 205.7°, 77.8, 7.1
Web Safe 000000 #000000
CIE-LAB 3.003, -1.034, -3.707
XYZ 0.291, 0.332, 0.621
xyY 0.234, 0.267, 0.332
CIE-LCH 3.003, 3.848, 254.408
CIE-LUV 3.003, -1.366, -1.926
Hunter-Lab 5.766, -1.09, -2.351
Binary 00000100, 00001100, 00010010

Color Schemes with #040c12

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

Alternatives to #040c12

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

Similar Colors

#040c12 Preview

Text with hexadecimal color #040c12

This text has a font color of #040c12.

<span style="color:#040c12;">Text here</span>
#040c12 background color

This paragraph has a background color of #040c12.

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

This element has a border color of #040c12.

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

Shades and Tints of #040c12

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, #000102 is the darkest color, while #f1f7fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c12

A tone is produced by adding gray to any pure hue. In this case, #0b0b0b is the less saturated color, while #010c15 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c12 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.

  • #0a0a0a Achromatopsia 0.005% of the population
  • #090a0c Atypical Achromatopsia 0.001% of the population
  • #15171d Protanopia 1% of men
  • #15171e Deuteranopia 1% of men
  • #0e191b Tritanopia 0.001% of the population
  • #0f1319 Protanomaly 1% of men, 0.01% of women
  • #0f131a Deuteranomaly 6% of men, 0.4% of women
  • #0a1417 Tritanomaly 0.01% of the population