#040c1f Color Information

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

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

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

#040c1f Color Conversion

The hexadecimal color #040c1f has RGB values of R:4, G:12, B:31 and CMYK values of C:0.87, M:0.61, Y:0, K:0.88. Its decimal value is 265247.

Hex triplet 040c1f #040c1f
RGB Decimal 4, 12, 31 rgb(4,12,31)
RGB Percent 1.6, 4.7, 12.2 rgb(1.6%,4.7%,12.2%)
CMYK 87, 61, 0, 88
HSL 222.2°, 77.1, 6.9 hsl(222.2,77.1%,6.9%)
HSV (or HSB) 222.2°, 87.1, 12.2
Web Safe 000033 #000033
CIE-LAB 3.502, 2.472, -12.649
XYZ 0.429, 0.388, 1.348
xyY 0.198, 0.179, 0.388
CIE-LCH 3.502, 12.888, 281.059
CIE-LUV 3.502, -1.417, -5.884
Hunter-Lab 6.226, 1.398, -8.483
Binary 00000100, 00001100, 00011111

Color Schemes with #040c1f

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

Alternatives to #040c1f

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

Similar Colors

#040c1f Preview

Text with hexadecimal color #040c1f

This text has a font color of #040c1f.

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

This paragraph has a background color of #040c1f.

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

This element has a border color of #040c1f.

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

Shades and Tints of #040c1f

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

Shade Color Variation
Tint Color Variation

Tones of #040c1f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c1f 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
  • #0c0c0c Achromatopsia 0.005% of the population
  • #0a0c10 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0f182a Protanopia 1% of men
  • #07192a Deuteranopia 1% of men
  • #001b1d Tritanopia 0.001% of the population
Trichromacy
  • #0b1426 Protanomaly 1% of men, 0.01% of women
  • #061426 Deuteranomaly 6% of men, 0.4% of women
  • #01151e Tritanomaly 0.01% of the population