#040f1e Color Information

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

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

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

#040f1e Color Conversion

The hexadecimal color #040f1e has RGB values of R:4, G:15, B:30 and CMYK values of C:0.87, M:0.5, Y:0, K:0.88. Its decimal value is 266014.

Hex triplet 040f1e #040f1e
RGB Decimal 4, 15, 30 rgb(4,15,30)
RGB Percent 1.6, 5.9, 11.8 rgb(1.6%,5.9%,11.8%)
CMYK 87, 50, 0, 88
HSL 214.6°, 76.5, 6.7 hsl(214.6,76.5%,6.7%)
HSV (or HSB) 214.6°, 86.7, 11.8
Web Safe 000033 #000033
CIE-LAB 4.166, 0.691, -10.864
XYZ 0.455, 0.461, 1.293
xyY 0.206, 0.209, 0.461
CIE-LCH 4.166, 10.886, 273.638
CIE-LUV 4.166, -1.951, -5.387
Hunter-Lab 6.791, 0.08, -6.537
Binary 00000100, 00001111, 00011110

Color Schemes with #040f1e

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

Alternatives to #040f1e

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

Similar Colors

#040f1e Preview

Text with hexadecimal color #040f1e

This text has a font color of #040f1e.

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

This paragraph has a background color of #040f1e.

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

This element has a border color of #040f1e.

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

Shades and Tints of #040f1e

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

Shade Color Variation
Tint Color Variation

Tones of #040f1e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f1e 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
  • #151a29 Protanopia 1% of men
  • #111b29 Deuteranopia 1% of men
  • #061d1f Tritanopia 0.001% of the population
  • #0e1625 Protanomaly 1% of men, 0.01% of women
  • #0c1625 Deuteranomaly 6% of men, 0.4% of women
  • #05181f Tritanomaly 0.01% of the population