#040c18 Color Information

In a RGB color space, hex #040c18 is composed of 1.6% red, 4.7% green and 9.4% blue. Whereas in a CMYK color space, it is composed of 83.3% cyan, 50% magenta, 0% yellow and 90.6% black. It has a hue angle of 216 degrees, a saturation of 71.4% and a lightness of 5.5%. #040c18 color hex could be obtained by blending #081830 with #000000. Closest websafe color is: #000000.

    • R 2
    • G 5
    • B 9
    RGB color chart
    • C 83
    • M 50
    • Y 0
    • K 91
    CMYK color chart

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

#040c18 Color Conversion

The hexadecimal color #040c18 has RGB values of R:4, G:12, B:24 and CMYK values of C:0.83, M:0.5, Y:0, K:0.91. Its decimal value is 265240.

Hex triplet 040c18 #040c18
RGB Decimal 4, 12, 24 rgb(4,12,24)
RGB Percent 1.6, 4.7, 9.4 rgb(1.6%,4.7%,9.4%)
CMYK 83, 50, 0, 91
HSL 216°, 71.4, 5.5 hsl(216,71.4%,5.5%)
HSV (or HSB) 216°, 83.3, 9.4
Web Safe 000000 #000000
CIE-LAB 3.204, 0.379, -7.554
XYZ 0.346, 0.355, 0.914
xyY 0.214, 0.22, 0.355
CIE-LCH 3.204, 7.563, 272.875
CIE-LUV 3.204, -1.378, -3.696
Hunter-Lab 5.956, -0.041, -4.934
Binary 00000100, 00001100, 00011000

Color Schemes with #040c18

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

Alternatives to #040c18

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

Similar Colors

#040c18 Preview

Text with hexadecimal color #040c18

This text has a font color of #040c18.

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

This paragraph has a background color of #040c18.

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

This element has a border color of #040c18.

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

Shades and Tints of #040c18

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

Shade Color Variation
Tint Color Variation

Tones of #040c18

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

Tone Color Variation

Color Blindness Simulator

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

Monochromacy
  • #0b0b0b Achromatopsia 0.005% of the population
  • #0a0b0e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #131723 Protanopia 1% of men
  • #111824 Deuteranopia 1% of men
  • #0a1a1c Tritanopia 0.001% of the population
Trichromacy
  • #0e131f Protanomaly 1% of men, 0.01% of women
  • #0c131f Deuteranomaly 6% of men, 0.4% of women
  • #08151a Tritanomaly 0.01% of the population