#040c31 Color Information

In a RGB color space, hex #040c31 is composed of 1.6% red, 4.7% green and 19.2% blue. Whereas in a CMYK color space, it is composed of 91.8% cyan, 75.5% magenta, 0% yellow and 80.8% black. It has a hue angle of 229.3 degrees, a saturation of 84.9% and a lightness of 10.4%. #040c31 color hex could be obtained by blending #081862 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 19
    RGB color chart
    • C 92
    • M 76
    • Y 0
    • K 81
    CMYK color chart

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

#040c31 Color Conversion

The hexadecimal color #040c31 has RGB values of R:4, G:12, B:49 and CMYK values of C:0.92, M:0.76, Y:0, K:0.81. Its decimal value is 265265.

Hex triplet 040c31 #040c31
RGB Decimal 4, 12, 49 rgb(4,12,49)
RGB Percent 1.6, 4.7, 19.2 rgb(1.6%,4.7%,19.2%)
CMYK 92, 76, 0, 81
HSL 229.3°, 84.9, 10.4 hsl(229.3,84.9%,10.4%)
HSV (or HSB) 229.3°, 91.8, 19.2
Web Safe 000033 #000033
CIE-LAB 4.611, 10.267, -24.637
XYZ 0.736, 0.51, 2.965
xyY 0.175, 0.121, 0.51
CIE-LCH 4.611, 26.69, 292.623
CIE-LUV 4.611, -1.654, -12.145
Hunter-Lab 7.145, 5.88, -19.607
Binary 00000100, 00001100, 00110001

Color Schemes with #040c31

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

Alternatives to #040c31

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

Similar Colors

#040c31 Preview

Text with hexadecimal color #040c31

This text has a font color of #040c31.

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

This paragraph has a background color of #040c31.

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

This element has a border color of #040c31.

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

Shades and Tints of #040c31

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

Shade Color Variation
Tint Color Variation

Tones of #040c31

A tone is produced by adding gray to any pure hue. In this case, #1a1a1b is the less saturated color, while #020b33 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #0e0e0e Achromatopsia 0.005% of the population
  • #0c0e15 Atypical Achromatopsia 0.001% of the population
  • #001b35 Protanopia 1% of men
  • #001d2e Deuteranopia 1% of men
  • #001f20 Tritanopia 0.001% of the population
  • #011533 Protanomaly 1% of men, 0.01% of women
  • #01162f Deuteranomaly 6% of men, 0.4% of women
  • #011826 Tritanomaly 0.01% of the population