#040f31 Color Information

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

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

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

#040f31 Color Conversion

The hexadecimal color #040f31 has RGB values of R:4, G:15, B:49 and CMYK values of C:0.92, M:0.69, Y:0, K:0.81. Its decimal value is 266033.

Hex triplet 040f31 #040f31
RGB Decimal 4, 15, 49 rgb(4,15,49)
RGB Percent 1.6, 5.9, 19.2 rgb(1.6%,5.9%,19.2%)
CMYK 92, 69, 0, 81
HSL 225.3°, 84.9, 10.4 hsl(225.3,84.9%,10.4%)
HSV (or HSB) 225.3°, 91.8, 19.2
Web Safe 000033 #000033
CIE-LAB 5.322, 8.815, -23.5
XYZ 0.775, 0.589, 2.978
xyY 0.178, 0.136, 0.589
CIE-LCH 5.322, 25.098, 290.561
CIE-LUV 5.322, -2.122, -12.623
Hunter-Lab 7.676, 4.594, -17.634
Binary 00000100, 00001111, 00110001

Color Schemes with #040f31

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

Alternatives to #040f31

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

Similar Colors

#040f31 Preview

Text with hexadecimal color #040f31

This text has a font color of #040f31.

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

This paragraph has a background color of #040f31.

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

This element has a border color of #040f31.

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

Shades and Tints of #040f31

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

Shade Color Variation
Tint Color Variation

Tones of #040f31

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f31 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
  • #101010 Achromatopsia 0.005% of the population
  • #0e1017 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001d39 Protanopia 1% of men
  • #001e31 Deuteranopia 1% of men
  • #002022 Tritanopia 0.001% of the population
Trichromacy
  • #011736 Protanomaly 1% of men, 0.01% of women
  • #011931 Deuteranomaly 6% of men, 0.4% of women
  • #011a28 Tritanomaly 0.01% of the population