#040c2c Color Information

In a RGB color space, hex #040c2c is composed of 1.6% red, 4.7% green and 17.3% blue. Whereas in a CMYK color space, it is composed of 90.9% cyan, 72.7% magenta, 0% yellow and 82.7% black. It has a hue angle of 228 degrees, a saturation of 83.3% and a lightness of 9.4%. #040c2c color hex could be obtained by blending #081858 with #000000. Closest websafe color is: #000033.

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

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

#040c2c Color Conversion

The hexadecimal color #040c2c has RGB values of R:4, G:12, B:44 and CMYK values of C:0.91, M:0.73, Y:0, K:0.83. Its decimal value is 265260.

Hex triplet 040c2c #040c2c
RGB Decimal 4, 12, 44 rgb(4,12,44)
RGB Percent 1.6, 4.7, 17.3 rgb(1.6%,4.7%,17.3%)
CMYK 91, 73, 0, 83
HSL 228°, 83.3, 9.4 hsl(228,83.3%,9.4%)
HSV (or HSB) 228°, 90.9, 17.3
Web Safe 000033 #000033
CIE-LAB 4.251, 7.735, -21.472
XYZ 0.636, 0.471, 2.44
xyY 0.179, 0.133, 0.471
CIE-LCH 4.251, 22.822, 289.81
CIE-LUV 4.251, -1.569, -10.293
Hunter-Lab 6.86, 4.547, -16.288
Binary 00000100, 00001100, 00101100

Color Schemes with #040c2c

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

Alternatives to #040c2c

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

Similar Colors

#040c2c Preview

Text with hexadecimal color #040c2c

This text has a font color of #040c2c.

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

This paragraph has a background color of #040c2c.

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

This element has a border color of #040c2c.

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

Shades and Tints of #040c2c

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

Shade Color Variation
Tint Color Variation

Tones of #040c2c

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

Tone Color Variation

Color Blindness Simulator

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

  • #0d0d0d Achromatopsia 0.005% of the population
  • #0b0d13 Atypical Achromatopsia 0.001% of the population
  • #001a33 Protanopia 1% of men
  • #001b2d Deuteranopia 1% of men
  • #001e1f Tritanopia 0.001% of the population
  • #011531 Protanomaly 1% of men, 0.01% of women
  • #01162c Deuteranomaly 6% of men, 0.4% of women
  • #011724 Tritanomaly 0.01% of the population