#040f1c Color Information

In a RGB color space, hex #040f1c is composed of 1.6% red, 5.9% green and 11% blue. Whereas in a CMYK color space, it is composed of 85.7% cyan, 46.4% magenta, 0% yellow and 89% black. It has a hue angle of 212.5 degrees, a saturation of 75% and a lightness of 6.3%. #040f1c color hex could be obtained by blending #081e38 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 6
    • B 11
    RGB color chart
    • C 86
    • M 46
    • Y 0
    • K 89
    CMYK color chart

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

#040f1c Color Conversion

The hexadecimal color #040f1c has RGB values of R:4, G:15, B:28 and CMYK values of C:0.86, M:0.46, Y:0, K:0.89. Its decimal value is 266012.

Hex triplet 040f1c #040f1c
RGB Decimal 4, 15, 28 rgb(4,15,28)
RGB Percent 1.6, 5.9, 11 rgb(1.6%,5.9%,11%)
CMYK 86, 46, 0, 89
HSL 212.5°, 75, 6.3 hsl(212.5,75%,6.3%)
HSV (or HSB) 212.5°, 85.7, 11
Web Safe 000033 #000033
CIE-LAB 4.076, 0.063, -9.431
XYZ 0.43, 0.451, 1.163
xyY 0.211, 0.221, 0.451
CIE-LCH 4.076, 9.431, 270.38
CIE-LUV 4.076, -1.947, -4.682
Hunter-Lab 6.718, -0.318, -5.562
Binary 00000100, 00001111, 00011100

Color Schemes with #040f1c

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

Alternatives to #040f1c

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

Similar Colors

#040f1c Preview

Text with hexadecimal color #040f1c

This text has a font color of #040f1c.

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

This paragraph has a background color of #040f1c.

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

This element has a border color of #040f1c.

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

Shades and Tints of #040f1c

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, #02060b is the darkest color, while #f9fbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040f1c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f1c 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
  • #0b0d10 Atypical Achromatopsia 0.001% of the population
  • #161a27 Protanopia 1% of men
  • #131a28 Deuteranopia 1% of men
  • #091d1f Tritanopia 0.001% of the population
  • #0f1623 Protanomaly 1% of men, 0.01% of women
  • #0d1623 Deuteranomaly 6% of men, 0.4% of women
  • #07181e Tritanomaly 0.01% of the population