#040c20 Color Information

In a RGB color space, hex #040c20 is composed of 1.6% red, 4.7% green and 12.5% blue. Whereas in a CMYK color space, it is composed of 87.5% cyan, 62.5% magenta, 0% yellow and 87.5% black. It has a hue angle of 222.9 degrees, a saturation of 77.8% and a lightness of 7.1%. #040c20 color hex could be obtained by blending #081840 with #000000. Closest websafe color is: #000033.

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

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

#040c20 Color Conversion

The hexadecimal color #040c20 has RGB values of R:4, G:12, B:32 and CMYK values of C:0.88, M:0.63, Y:0, K:0.87. Its decimal value is 265248.

Hex triplet 040c20 #040c20
RGB Decimal 4, 12, 32 rgb(4,12,32)
RGB Percent 1.6, 4.7, 12.5 rgb(1.6%,4.7%,12.5%)
CMYK 88, 63, 0, 87
HSL 222.9°, 77.8, 7.1 hsl(222.9,77.8%,7.1%)
HSV (or HSB) 222.9°, 87.5, 12.5
Web Safe 000033 #000033
CIE-LAB 3.55, 2.812, -13.358
XYZ 0.442, 0.393, 1.419
xyY 0.196, 0.174, 0.393
CIE-LCH 3.55, 13.651, 281.888
CIE-LUV 3.55, -1.425, -6.206
Hunter-Lab 6.269, 1.62, -9.032
Binary 00000100, 00001100, 00100000

Color Schemes with #040c20

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

Alternatives to #040c20

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

Similar Colors

#040c20 Preview

Text with hexadecimal color #040c20

This text has a font color of #040c20.

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

This paragraph has a background color of #040c20.

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

This element has a border color of #040c20.

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

Shades and Tints of #040c20

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

Shade Color Variation
Tint Color Variation

Tones of #040c20

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c20 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
  • #0e182b Protanopia 1% of men
  • #00192b Deuteranopia 1% of men
  • #001b1d Tritanopia 0.001% of the population
  • #0a1427 Protanomaly 1% of men, 0.01% of women
  • #011427 Deuteranomaly 6% of men, 0.4% of women
  • #01161e Tritanomaly 0.01% of the population