#040f1f Color Information

In a RGB color space, hex #040f1f is composed of 1.6% red, 5.9% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 87.1% cyan, 51.6% magenta, 0% yellow and 87.8% black. It has a hue angle of 215.6 degrees, a saturation of 77.1% and a lightness of 6.9%. #040f1f color hex could be obtained by blending #081e3e with #000000. Closest websafe color is: #000033.

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

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

#040f1f Color Conversion

The hexadecimal color #040f1f has RGB values of R:4, G:15, B:31 and CMYK values of C:0.87, M:0.52, Y:0, K:0.88. Its decimal value is 266015.

Hex triplet 040f1f #040f1f
RGB Decimal 4, 15, 31 rgb(4,15,31)
RGB Percent 1.6, 5.9, 12.2 rgb(1.6%,5.9%,12.2%)
CMYK 87, 52, 0, 88
HSL 215.6°, 77.1, 6.9 hsl(215.6,77.1%,6.9%)
HSV (or HSB) 215.6°, 87.1, 12.2
Web Safe 000033 #000033
CIE-LAB 4.213, 1.02, -11.573
XYZ 0.468, 0.466, 1.362
xyY 0.204, 0.203, 0.466
CIE-LCH 4.213, 11.618, 275.037
CIE-LUV 4.213, -1.954, -5.744
Hunter-Lab 6.829, 0.286, -7.041
Binary 00000100, 00001111, 00011111

Color Schemes with #040f1f

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

Alternatives to #040f1f

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

Similar Colors

#040f1f Preview

Text with hexadecimal color #040f1f

This text has a font color of #040f1f.

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

This paragraph has a background color of #040f1f.

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

This element has a border color of #040f1f.

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

Shades and Tints of #040f1f

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, #02070e is the darkest color, while #fbfdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040f1f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f1f 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.

Monochromacy
  • #0e0e0e Achromatopsia 0.005% of the population
  • #0c0e11 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #141a2a Protanopia 1% of men
  • #101b2a Deuteranopia 1% of men
  • #021d20 Tritanopia 0.001% of the population
Trichromacy
  • #0e1626 Protanomaly 1% of men, 0.01% of women
  • #0b1626 Deuteranomaly 6% of men, 0.4% of women
  • #03181f Tritanomaly 0.01% of the population