#040d31 Color Information

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

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

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

#040d31 Color Conversion

The hexadecimal color #040d31 has RGB values of R:4, G:13, B:49 and CMYK values of C:0.92, M:0.73, Y:0, K:0.81. Its decimal value is 265521.

Hex triplet 040d31 #040d31
RGB Decimal 4, 13, 49 rgb(4,13,49)
RGB Percent 1.6, 5.1, 19.2 rgb(1.6%,5.1%,19.2%)
CMYK 92, 73, 0, 81
HSL 228°, 84.9, 10.4 hsl(228,84.9%,10.4%)
HSV (or HSB) 228°, 91.8, 19.2
Web Safe 000033 #000033
CIE-LAB 4.836, 9.807, -24.277
XYZ 0.748, 0.535, 2.969
xyY 0.176, 0.126, 0.535
CIE-LCH 4.836, 26.183, 291.998
CIE-LUV 4.836, -1.799, -12.317
Hunter-Lab 7.317, 5.45, -18.941
Binary 00000100, 00001101, 00110001

Color Schemes with #040d31

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

Alternatives to #040d31

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

Similar Colors

#040d31 Preview

Text with hexadecimal color #040d31

This text has a font color of #040d31.

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

This paragraph has a background color of #040d31.

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

This element has a border color of #040d31.

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

Shades and Tints of #040d31

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 #fafbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040d31

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040d31 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
  • #001b36 Protanopia 1% of men
  • #001d2f Deuteranopia 1% of men
  • #001f21 Tritanopia 0.001% of the population
  • #011634 Protanomaly 1% of men, 0.01% of women
  • #011730 Deuteranomaly 6% of men, 0.4% of women
  • #011827 Tritanomaly 0.01% of the population