#040c8e Color Information

In a RGB color space, hex #040c8e is composed of 1.6% red, 4.7% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 91.5% magenta, 0% yellow and 44.3% black. It has a hue angle of 236.5 degrees, a saturation of 94.5% and a lightness of 28.6%. #040c8e color hex could be obtained by blending #0818ff with #00001d. Closest websafe color is: #000099.

    • R 2
    • G 5
    • B 56
    RGB color chart
    • C 97
    • M 92
    • Y 0
    • K 44
    CMYK color chart

#040c8e color description : Dark blue.

#040c8e Color Conversion

The hexadecimal color #040c8e has RGB values of R:4, G:12, B:142 and CMYK values of C:0.97, M:0.92, Y:0, K:0.44. Its decimal value is 265358.

Hex triplet 040c8e #040c8e
RGB Decimal 4, 12, 142 rgb(4,12,142)
RGB Percent 1.6, 4.7, 55.7 rgb(1.6%,4.7%,55.7%)
CMYK 97, 92, 0, 44
HSL 236.5°, 94.5, 28.6 hsl(236.5,94.5%,28.6%)
HSV (or HSB) 236.5°, 97.2, 55.7
Web Safe 000099 #000099
CIE-LAB 16.706, 47.157, -67.3
XYZ 5.063, 2.241, 25.755
xyY 0.153, 0.068, 2.241
CIE-LCH 16.706, 82.177, 305.019
CIE-LUV 16.706, -5.033, -63.929
Hunter-Lab 14.971, 34.167, -91.519
Binary 00000100, 00001100, 10001110

Color Schemes with #040c8e

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

Alternatives to #040c8e

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

Similar Colors

#040c8e Preview

Text with hexadecimal color #040c8e

This text has a font color of #040c8e.

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

This paragraph has a background color of #040c8e.

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

This element has a border color of #040c8e.

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

Shades and Tints of #040c8e

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

Shade Color Variation
Tint Color Variation

Tones of #040c8e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c8e 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
  • #181818 Achromatopsia 0.005% of the population
  • #141630 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003262 Protanopia 1% of men
  • #003555 Deuteranopia 1% of men
  • #00393b Tritanopia 0.001% of the population
Trichromacy
  • #012472 Protanomaly 1% of men, 0.01% of women
  • #012669 Deuteranomaly 6% of men, 0.4% of women
  • #012959 Tritanomaly 0.01% of the population