#040c2a Color Information

In a RGB color space, hex #040c2a is composed of 1.6% red, 4.7% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 90.5% cyan, 71.4% magenta, 0% yellow and 83.5% black. It has a hue angle of 227.4 degrees, a saturation of 82.6% and a lightness of 9%. #040c2a color hex could be obtained by blending #081854 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 16
    RGB color chart
    • C 90
    • M 71
    • Y 0
    • K 84
    CMYK color chart

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

#040c2a Color Conversion

The hexadecimal color #040c2a has RGB values of R:4, G:12, B:42 and CMYK values of C:0.9, M:0.71, Y:0, K:0.84. Its decimal value is 265258.

Hex triplet 040c2a #040c2a
RGB Decimal 4, 12, 42 rgb(4,12,42)
RGB Percent 1.6, 4.7, 16.5 rgb(1.6%,4.7%,16.5%)
CMYK 90, 71, 0, 84
HSL 227.4°, 82.6, 9 hsl(227.4,82.6%,9%)
HSV (or HSB) 227.4°, 90.5, 16.5
Web Safe 000033 #000033
CIE-LAB 4.118, 6.803, -20.171
XYZ 0.599, 0.456, 2.247
xyY 0.182, 0.138, 0.456
CIE-LCH 4.118, 21.287, 288.638
CIE-LUV 4.118, -1.539, -9.58
Hunter-Lab 6.752, 4.03, -15.003
Binary 00000100, 00001100, 00101010

Color Schemes with #040c2a

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

Alternatives to #040c2a

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

Similar Colors

#040c2a Preview

Text with hexadecimal color #040c2a

This text has a font color of #040c2a.

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

This paragraph has a background color of #040c2a.

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

This element has a border color of #040c2a.

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

Shades and Tints of #040c2a

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

Shade Color Variation
Tint Color Variation

Tones of #040c2a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c2a 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
  • #0d0d0d Achromatopsia 0.005% of the population
  • #0b0d13 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001a33 Protanopia 1% of men
  • #001b2c Deuteranopia 1% of men
  • #001d1f Tritanopia 0.001% of the population
Trichromacy
  • #01152f Protanomaly 1% of men, 0.01% of women
  • #01152b Deuteranomaly 6% of men, 0.4% of women
  • #011723 Tritanomaly 0.01% of the population