#040c21 Color Information

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

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

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

#040c21 Color Conversion

The hexadecimal color #040c21 has RGB values of R:4, G:12, B:33 and CMYK values of C:0.88, M:0.64, Y:0, K:0.87. Its decimal value is 265249.

Hex triplet 040c21 #040c21
RGB Decimal 4, 12, 33 rgb(4,12,33)
RGB Percent 1.6, 4.7, 12.9 rgb(1.6%,4.7%,12.9%)
CMYK 88, 64, 0, 87
HSL 223.4°, 78.4, 7.3 hsl(223.4,78.4%,7.3%)
HSV (or HSB) 223.4°, 87.9, 12.9
Web Safe 000033 #000033
CIE-LAB 3.6, 3.163, -14.063
XYZ 0.456, 0.399, 1.492
xyY 0.194, 0.17, 0.399
CIE-LCH 3.6, 14.414, 282.675
CIE-LUV 3.6, -1.434, -6.53
Hunter-Lab 6.313, 1.846, -9.59
Binary 00000100, 00001100, 00100001

Color Schemes with #040c21

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

Alternatives to #040c21

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

Similar Colors

#040c21 Preview

Text with hexadecimal color #040c21

This text has a font color of #040c21.

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

This paragraph has a background color of #040c21.

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

This element has a border color of #040c21.

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

Shades and Tints of #040c21

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

Shade Color Variation
Tint Color Variation

Tones of #040c21

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

Tone Color Variation

Color Blindness Simulator

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

  • #0c0c0c Achromatopsia 0.005% of the population
  • #0a0c10 Atypical Achromatopsia 0.001% of the population
  • #0d182c Protanopia 1% of men
  • #00192b Deuteranopia 1% of men
  • #001c1d Tritanopia 0.001% of the population
  • #0a1428 Protanomaly 1% of men, 0.01% of women
  • #011427 Deuteranomaly 6% of men, 0.4% of women
  • #01161f Tritanomaly 0.01% of the population