#040a1f Color Information

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

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

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

#040a1f Color Conversion

The hexadecimal color #040a1f has RGB values of R:4, G:10, B:31 and CMYK values of C:0.87, M:0.68, Y:0, K:0.88. Its decimal value is 264735.

Hex triplet 040a1f #040a1f
RGB Decimal 4, 10, 31 rgb(4,10,31)
RGB Percent 1.6, 3.9, 12.2 rgb(1.6%,3.9%,12.2%)
CMYK 87, 68, 0, 88
HSL 226.7°, 77.1, 6.9 hsl(226.7,77.1%,6.9%)
HSV (or HSB) 226.7°, 87.1, 12.2
Web Safe 000033 #000033
CIE-LAB 3.087, 3.319, -13.276
XYZ 0.406, 0.342, 1.341
xyY 0.194, 0.164, 0.342
CIE-LCH 3.087, 13.684, 284.035
CIE-LUV 3.087, -1.121, -5.876
Hunter-Lab 5.846, 2.161, -9.505
Binary 00000100, 00001010, 00011111

Color Schemes with #040a1f

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

Alternatives to #040a1f

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

Similar Colors

#040a1f Preview

Text with hexadecimal color #040a1f

This text has a font color of #040a1f.

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

This paragraph has a background color of #040a1f.

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

This element has a border color of #040a1f.

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

Shades and Tints of #040a1f

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

Shade Color Variation
Tint Color Variation

Tones of #040a1f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040a1f 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
  • #0b0b0b Achromatopsia 0.005% of the population
  • #0a0b0f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0b172b Protanopia 1% of men
  • #001828 Deuteranopia 1% of men
  • #001a1c Tritanopia 0.001% of the population
Trichromacy
  • #081226 Protanomaly 1% of men, 0.01% of women
  • #011324 Deuteranomaly 6% of men, 0.4% of women
  • #01141d Tritanomaly 0.01% of the population