#040c1c Color Information

In a RGB color space, hex #040c1c is composed of 1.6% red, 4.7% green and 11% blue. Whereas in a CMYK color space, it is composed of 85.7% cyan, 57.1% magenta, 0% yellow and 89% black. It has a hue angle of 220 degrees, a saturation of 75% and a lightness of 6.3%. #040c1c color hex could be obtained by blending #081838 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 11
    RGB color chart
    • C 86
    • M 57
    • Y 0
    • K 89
    CMYK color chart

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

#040c1c Color Conversion

The hexadecimal color #040c1c has RGB values of R:4, G:12, B:28 and CMYK values of C:0.86, M:0.57, Y:0, K:0.89. Its decimal value is 265244.

Hex triplet 040c1c #040c1c
RGB Decimal 4, 12, 28 rgb(4,12,28)
RGB Percent 1.6, 4.7, 11 rgb(1.6%,4.7%,11%)
CMYK 86, 57, 0, 89
HSL 220°, 75, 6.3 hsl(220,75%,6.3%)
HSV (or HSB) 220°, 85.7, 11
Web Safe 000033 #000033
CIE-LAB 3.365, 1.515, -10.49
XYZ 0.391, 0.373, 1.15
xyY 0.204, 0.195, 0.373
CIE-LCH 3.365, 10.599, 278.217
CIE-LUV 3.365, -1.397, -4.932
Hunter-Lab 6.104, 0.755, -6.896
Binary 00000100, 00001100, 00011100

Color Schemes with #040c1c

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

Alternatives to #040c1c

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

Similar Colors

#040c1c Preview

Text with hexadecimal color #040c1c

This text has a font color of #040c1c.

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

This paragraph has a background color of #040c1c.

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

This element has a border color of #040c1c.

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

Shades and Tints of #040c1c

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, #02050b is the darkest color, while #f9fafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c1c

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

Tone Color Variation

Color Blindness Simulator

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

  • #0b0b0b Achromatopsia 0.005% of the population
  • #0a0b0e Atypical Achromatopsia 0.001% of the population
  • #111827 Protanopia 1% of men
  • #0d1927 Deuteranopia 1% of men
  • #061b1d Tritanopia 0.001% of the population
  • #0c1323 Protanomaly 1% of men, 0.01% of women
  • #091423 Deuteranomaly 6% of men, 0.4% of women
  • #05151c Tritanomaly 0.01% of the population