#040c1a Color Information

In a RGB color space, hex #040c1a is composed of 1.6% red, 4.7% green and 10.2% blue. Whereas in a CMYK color space, it is composed of 84.6% cyan, 53.8% magenta, 0% yellow and 89.8% black. It has a hue angle of 218.2 degrees, a saturation of 73.3% and a lightness of 5.9%. #040c1a color hex could be obtained by blending #081834 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 10
    RGB color chart
    • C 85
    • M 54
    • Y 0
    • K 90
    CMYK color chart

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

#040c1a Color Conversion

The hexadecimal color #040c1a has RGB values of R:4, G:12, B:26 and CMYK values of C:0.85, M:0.54, Y:0, K:0.9. Its decimal value is 265242.

Hex triplet 040c1a #040c1a
RGB Decimal 4, 12, 26 rgb(4,12,26)
RGB Percent 1.6, 4.7, 10.2 rgb(1.6%,4.7%,10.2%)
CMYK 85, 54, 0, 90
HSL 218.2°, 73.3, 5.9 hsl(218.2,73.3%,5.9%)
HSV (or HSB) 218.2°, 84.6, 10.2
Web Safe 000033 #000033
CIE-LAB 3.282, 0.927, -9.026
XYZ 0.368, 0.363, 1.028
xyY 0.209, 0.207, 0.363
CIE-LCH 3.282, 9.073, 275.865
CIE-LUV 3.282, -1.386, -4.309
Hunter-Lab 6.028, 0.348, -5.892
Binary 00000100, 00001100, 00011010

Color Schemes with #040c1a

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

Alternatives to #040c1a

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

Similar Colors

#040c1a Preview

Text with hexadecimal color #040c1a

This text has a font color of #040c1a.

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

This paragraph has a background color of #040c1a.

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

This element has a border color of #040c1a.

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

Shades and Tints of #040c1a

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

Shade Color Variation
Tint Color Variation

Tones of #040c1a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c1a 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
  • #131825 Protanopia 1% of men
  • #0f1825 Deuteranopia 1% of men
  • #081a1c Tritanopia 0.001% of the population
  • #0d1321 Protanomaly 1% of men, 0.01% of women
  • #0b1421 Deuteranomaly 6% of men, 0.4% of women
  • #07151b Tritanomaly 0.01% of the population