#040c9e Color Information

In a RGB color space, hex #040c9e is composed of 1.6% red, 4.7% green and 62% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 92.4% magenta, 0% yellow and 38% black. It has a hue angle of 236.9 degrees, a saturation of 95.1% and a lightness of 31.8%. #040c9e color hex could be obtained by blending #0818ff with #00003d. Closest websafe color is: #000099.

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

#040c9e color description : Dark blue.

#040c9e Color Conversion

The hexadecimal color #040c9e has RGB values of R:4, G:12, B:158 and CMYK values of C:0.97, M:0.92, Y:0, K:0.38. Its decimal value is 265374.

Hex triplet 040c9e #040c9e
RGB Decimal 4, 12, 158 rgb(4,12,158)
RGB Percent 1.6, 4.7, 62 rgb(1.6%,4.7%,62%)
CMYK 97, 92, 0, 38
HSL 236.9°, 95.1, 31.8 hsl(236.9,95.1%,31.8%)
HSV (or HSB) 236.9°, 97.5, 62
Web Safe 000099 #000099
CIE-LAB 19.043, 51.858, -73.302
XYZ 6.352, 2.757, 32.543
xyY 0.152, 0.066, 2.757
CIE-LCH 19.043, 89.791, 305.278
CIE-LUV 19.043, -5.699, -73.676
Hunter-Lab 16.604, 39.229, -104.585
Binary 00000100, 00001100, 10011110

Color Schemes with #040c9e

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

Alternatives to #040c9e

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

Similar Colors

#040c9e Preview

Text with hexadecimal color #040c9e

This text has a font color of #040c9e.

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

This paragraph has a background color of #040c9e.

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

This element has a border color of #040c9e.

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

Shades and Tints of #040c9e

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

Shade Color Variation
Tint Color Variation

Tones of #040c9e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c9e 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
  • #1a1a1a Achromatopsia 0.005% of the population
  • #161734 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376b Protanopia 1% of men
  • #003a5c Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
Trichromacy
  • #01277d Protanomaly 1% of men, 0.01% of women
  • #012974 Deuteranomaly 6% of men, 0.4% of women
  • #012c62 Tritanomaly 0.01% of the population