#040f21 Color Information

In a RGB color space, hex #040f21 is composed of 1.6% red, 5.9% green and 12.9% blue. Whereas in a CMYK color space, it is composed of 87.9% cyan, 54.5% magenta, 0% yellow and 87.1% black. It has a hue angle of 217.2 degrees, a saturation of 78.4% and a lightness of 7.3%. #040f21 color hex could be obtained by blending #081e42 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 6
    • B 13
    RGB color chart
    • C 88
    • M 55
    • Y 0
    • K 87
    CMYK color chart

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

#040f21 Color Conversion

The hexadecimal color #040f21 has RGB values of R:4, G:15, B:33 and CMYK values of C:0.88, M:0.55, Y:0, K:0.87. Its decimal value is 266017.

Hex triplet 040f21 #040f21
RGB Decimal 4, 15, 33 rgb(4,15,33)
RGB Percent 1.6, 5.9, 12.9 rgb(1.6%,5.9%,12.9%)
CMYK 88, 55, 0, 87
HSL 217.2°, 78.4, 7.3 hsl(217.2,78.4%,7.3%)
HSV (or HSB) 217.2°, 87.9, 12.9
Web Safe 000033 #000033
CIE-LAB 4.311, 1.71, -12.977
XYZ 0.495, 0.477, 1.505
xyY 0.2, 0.193, 0.477
CIE-LCH 4.311, 13.089, 277.508
CIE-LUV 4.311, -1.962, -6.465
Hunter-Lab 6.908, 0.71, -8.079
Binary 00000100, 00001111, 00100001

Color Schemes with #040f21

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

Alternatives to #040f21

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

Similar Colors

#040f21 Preview

Text with hexadecimal color #040f21

This text has a font color of #040f21.

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

This paragraph has a background color of #040f21.

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

This element has a border color of #040f21.

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

Shades and Tints of #040f21

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, #020710 is the darkest color, while #fdfeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040f21

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f21 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
  • #0c0e12 Atypical Achromatopsia 0.001% of the population
  • #131a2c Protanopia 1% of men
  • #0d1b2c Deuteranopia 1% of men
  • #001e20 Tritanopia 0.001% of the population
  • #0d1628 Protanomaly 1% of men, 0.01% of women
  • #0a1728 Deuteranomaly 6% of men, 0.4% of women
  • #011820 Tritanomaly 0.01% of the population