#040f1d Color Information

In a RGB color space, hex #040f1d is composed of 1.6% red, 5.9% green and 11.4% blue. Whereas in a CMYK color space, it is composed of 86.2% cyan, 48.3% magenta, 0% yellow and 88.6% black. It has a hue angle of 213.6 degrees, a saturation of 75.8% and a lightness of 6.5%. #040f1d color hex could be obtained by blending #081e3a with #000000. Closest websafe color is: #000033.

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

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

#040f1d Color Conversion

The hexadecimal color #040f1d has RGB values of R:4, G:15, B:29 and CMYK values of C:0.86, M:0.48, Y:0, K:0.89. Its decimal value is 266013.

Hex triplet 040f1d #040f1d
RGB Decimal 4, 15, 29 rgb(4,15,29)
RGB Percent 1.6, 5.9, 11.4 rgb(1.6%,5.9%,11.4%)
CMYK 86, 48, 0, 89
HSL 213.6°, 75.8, 6.5 hsl(213.6,75.8%,6.5%)
HSV (or HSB) 213.6°, 86.2, 11.4
Web Safe 000033 #000033
CIE-LAB 4.12, 0.371, -10.15
XYZ 0.443, 0.456, 1.227
xyY 0.208, 0.215, 0.456
CIE-LCH 4.12, 10.157, 272.096
CIE-LUV 4.12, -1.949, -5.033
Hunter-Lab 6.754, -0.121, -6.044
Binary 00000100, 00001111, 00011101

Color Schemes with #040f1d

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

Alternatives to #040f1d

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

Similar Colors

#040f1d Preview

Text with hexadecimal color #040f1d

This text has a font color of #040f1d.

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

This paragraph has a background color of #040f1d.

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

This element has a border color of #040f1d.

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

Shades and Tints of #040f1d

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

Shade Color Variation
Tint Color Variation

Tones of #040f1d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f1d 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
  • #151a28 Protanopia 1% of men
  • #121b28 Deuteranopia 1% of men
  • #071d1f Tritanopia 0.001% of the population
  • #0f1624 Protanomaly 1% of men, 0.01% of women
  • #0d1624 Deuteranomaly 6% of men, 0.4% of women
  • #06181e Tritanomaly 0.01% of the population