#040c2f Color Information

In a RGB color space, hex #040c2f is composed of 1.6% red, 4.7% green and 18.4% blue. Whereas in a CMYK color space, it is composed of 91.5% cyan, 74.5% magenta, 0% yellow and 81.6% black. It has a hue angle of 228.8 degrees, a saturation of 84.3% and a lightness of 10%. #040c2f color hex could be obtained by blending #08185e with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 18
    RGB color chart
    • C 91
    • M 74
    • Y 0
    • K 82
    CMYK color chart

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

#040c2f Color Conversion

The hexadecimal color #040c2f has RGB values of R:4, G:12, B:47 and CMYK values of C:0.91, M:0.74, Y:0, K:0.82. Its decimal value is 265263.

Hex triplet 040c2f #040c2f
RGB Decimal 4, 12, 47 rgb(4,12,47)
RGB Percent 1.6, 4.7, 18.4 rgb(1.6%,4.7%,18.4%)
CMYK 91, 74, 0, 82
HSL 228.8°, 84.3, 10 hsl(228.8,84.3%,10%)
HSV (or HSB) 228.8°, 91.5, 18.4
Web Safe 000033 #000033
CIE-LAB 4.462, 9.219, -23.386
XYZ 0.695, 0.494, 2.748
xyY 0.176, 0.125, 0.494
CIE-LCH 4.462, 25.137, 291.515
CIE-LUV 4.462, -1.618, -11.392
Hunter-Lab 7.028, 5.34, -18.262
Binary 00000100, 00001100, 00101111

Color Schemes with #040c2f

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

Alternatives to #040c2f

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

Similar Colors

#040c2f Preview

Text with hexadecimal color #040c2f

This text has a font color of #040c2f.

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

This paragraph has a background color of #040c2f.

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

This element has a border color of #040c2f.

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

Shades and Tints of #040c2f

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, #01030b is the darkest color, while #f8f9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c2f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c2f 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
  • #0e0e0e Achromatopsia 0.005% of the population
  • #0c0e15 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001b34 Protanopia 1% of men
  • #001c2e Deuteranopia 1% of men
  • #001e20 Tritanopia 0.001% of the population
Trichromacy
  • #011532 Protanomaly 1% of men, 0.01% of women
  • #01162e Deuteranomaly 6% of men, 0.4% of women
  • #011725 Tritanomaly 0.01% of the population