#040c2e Color Information

In a RGB color space, hex #040c2e is composed of 1.6% red, 4.7% green and 18% blue. Whereas in a CMYK color space, it is composed of 91.3% cyan, 73.9% magenta, 0% yellow and 82% black. It has a hue angle of 228.6 degrees, a saturation of 84% and a lightness of 9.8%. #040c2e color hex could be obtained by blending #08185c 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

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

#040c2e Color Conversion

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

Hex triplet 040c2e #040c2e
RGB Decimal 4, 12, 46 rgb(4,12,46)
RGB Percent 1.6, 4.7, 18 rgb(1.6%,4.7%,18%)
CMYK 91, 74, 0, 82
HSL 228.6°, 84, 9.8 hsl(228.6,84%,9.8%)
HSV (or HSB) 228.6°, 91.3, 18
Web Safe 000033 #000033
CIE-LAB 4.39, 8.712, -22.753
XYZ 0.675, 0.486, 2.643
xyY 0.177, 0.128, 0.486
CIE-LCH 4.39, 24.364, 290.953
CIE-LUV 4.39, -1.601, -11.021
Hunter-Lab 6.971, 5.074, -17.598
Binary 00000100, 00001100, 00101110

Color Schemes with #040c2e

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

Alternatives to #040c2e

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

Similar Colors

#040c2e Preview

Text with hexadecimal color #040c2e

This text has a font color of #040c2e.

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

This paragraph has a background color of #040c2e.

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

This element has a border color of #040c2e.

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

Shades and Tints of #040c2e

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

Shade Color Variation
Tint Color Variation

Tones of #040c2e

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

Tone Color Variation

Color Blindness Simulator

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