#040c39 Color Information

In a RGB color space, hex #040c39 is composed of 1.6% red, 4.7% green and 22.4% blue. Whereas in a CMYK color space, it is composed of 93% cyan, 78.9% magenta, 0% yellow and 77.6% black. It has a hue angle of 230.9 degrees, a saturation of 86.9% and a lightness of 12%. #040c39 color hex could be obtained by blending #081872 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 22
    RGB color chart
    • C 93
    • M 79
    • Y 0
    • K 78
    CMYK color chart

#040c39 color description : Very dark blue.

#040c39 Color Conversion

The hexadecimal color #040c39 has RGB values of R:4, G:12, B:57 and CMYK values of C:0.93, M:0.79, Y:0, K:0.78. Its decimal value is 265273.

Hex triplet 040c39 #040c39
RGB Decimal 4, 12, 57 rgb(4,12,57)
RGB Percent 1.6, 4.7, 22.4 rgb(1.6%,4.7%,22.4%)
CMYK 93, 79, 0, 78
HSL 230.9°, 86.9, 12 hsl(230.9,86.9%,12%)
HSV (or HSB) 230.9°, 93, 22.4
Web Safe 000033 #000033
CIE-LAB 5.276, 14.847, -29.441
XYZ 0.92, 0.584, 3.935
xyY 0.169, 0.107, 0.584
CIE-LCH 5.276, 32.973, 296.762
CIE-LUV 5.276, -1.823, -15.342
Hunter-Lab 7.643, 8.111, -25.177
Binary 00000100, 00001100, 00111001

Color Schemes with #040c39

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

Alternatives to #040c39

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

Similar Colors

#040c39 Preview

Text with hexadecimal color #040c39

This text has a font color of #040c39.

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

This paragraph has a background color of #040c39.

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

This element has a border color of #040c39.

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

Shades and Tints of #040c39

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

Shade Color Variation
Tint Color Variation

Tones of #040c39

A tone is produced by adding gray to any pure hue. In this case, #1e1e1f is the less saturated color, while #020a3b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c39 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
  • #0f0f0f Achromatopsia 0.005% of the population
  • #0d0e17 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001d38 Protanopia 1% of men
  • #001e31 Deuteranopia 1% of men
  • #002022 Tritanopia 0.001% of the population
Trichromacy
  • #011638 Protanomaly 1% of men, 0.01% of women
  • #011733 Deuteranomaly 6% of men, 0.4% of women
  • #01192a Tritanomaly 0.01% of the population