#040c9d Color Information

In a RGB color space, hex #040c9d is composed of 1.6% red, 4.7% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 92.4% magenta, 0% yellow and 38.4% black. It has a hue angle of 236.9 degrees, a saturation of 95% and a lightness of 31.6%. #040c9d color hex could be obtained by blending #0818ff with #00003b. 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

#040c9d color description : Dark blue.

#040c9d Color Conversion

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

Hex triplet 040c9d #040c9d
RGB Decimal 4, 12, 157 rgb(4,12,157)
RGB Percent 1.6, 4.7, 61.6 rgb(1.6%,4.7%,61.6%)
CMYK 97, 92, 0, 38
HSL 236.9°, 95, 31.6 hsl(236.9,95%,31.6%)
HSV (or HSB) 236.9°, 97.5, 61.6
Web Safe 000099 #000099
CIE-LAB 18.897, 51.57, -72.932
XYZ 6.266, 2.723, 32.092
xyY 0.153, 0.066, 2.723
CIE-LCH 18.897, 89.323, 305.264
CIE-LUV 18.897, -5.657, -73.068
Hunter-Lab 16.5, 38.912, -103.764
Binary 00000100, 00001100, 10011101

Color Schemes with #040c9d

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

Alternatives to #040c9d

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

Similar Colors

#040c9d Preview

Text with hexadecimal color #040c9d

This text has a font color of #040c9d.

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

This paragraph has a background color of #040c9d.

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

This element has a border color of #040c9d.

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

Shades and Tints of #040c9d

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

Shade Color Variation
Tint Color Variation

Tones of #040c9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c9d 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
  • #003e40 Tritanopia 0.001% of the population
Trichromacy
  • #01277d Protanomaly 1% of men, 0.01% of women
  • #012973 Deuteranomaly 6% of men, 0.4% of women
  • #012c62 Tritanomaly 0.01% of the population