#040c1e Color Information

In a RGB color space, hex #040c1e is composed of 1.6% red, 4.7% green and 11.8% blue. Whereas in a CMYK color space, it is composed of 86.7% cyan, 60% magenta, 0% yellow and 88.2% black. It has a hue angle of 221.5 degrees, a saturation of 76.5% and a lightness of 6.7%. #040c1e color hex could be obtained by blending #08183c with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 12
    RGB color chart
    • C 87
    • M 60
    • Y 0
    • K 88
    CMYK color chart

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

#040c1e Color Conversion

The hexadecimal color #040c1e has RGB values of R:4, G:12, B:30 and CMYK values of C:0.87, M:0.6, Y:0, K:0.88. Its decimal value is 265246.

Hex triplet 040c1e #040c1e
RGB Decimal 4, 12, 30 rgb(4,12,30)
RGB Percent 1.6, 4.7, 11.8 rgb(1.6%,4.7%,11.8%)
CMYK 87, 60, 0, 88
HSL 221.5°, 76.5, 6.7 hsl(221.5,76.5%,6.7%)
HSV (or HSB) 221.5°, 86.7, 11.8
Web Safe 000033 #000033
CIE-LAB 3.455, 2.143, -11.935
XYZ 0.416, 0.382, 1.28
xyY 0.2, 0.184, 0.382
CIE-LCH 3.455, 12.125, 280.179
CIE-LUV 3.455, -1.41, -5.564
Hunter-Lab 6.184, 1.18, -7.944
Binary 00000100, 00001100, 00011110

Color Schemes with #040c1e

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

Alternatives to #040c1e

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

Similar Colors

#040c1e Preview

Text with hexadecimal color #040c1e

This text has a font color of #040c1e.

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

This paragraph has a background color of #040c1e.

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

This element has a border color of #040c1e.

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

Shades and Tints of #040c1e

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

Shade Color Variation
Tint Color Variation

Tones of #040c1e

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

Tone Color Variation

Color Blindness Simulator

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

  • #0c0c0c Achromatopsia 0.005% of the population
  • #0a0c10 Atypical Achromatopsia 0.001% of the population
  • #101829 Protanopia 1% of men
  • #091929 Deuteranopia 1% of men
  • #001b1d Tritanopia 0.001% of the population
  • #0c1325 Protanomaly 1% of men, 0.01% of women
  • #071425 Deuteranomaly 6% of men, 0.4% of women
  • #01151d Tritanomaly 0.01% of the population