#040f9c Color Information

In a RGB color space, hex #040f9c is composed of 1.6% red, 5.9% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 90.4% magenta, 0% yellow and 38.8% black. It has a hue angle of 235.7 degrees, a saturation of 95% and a lightness of 31.4%. #040f9c color hex could be obtained by blending #081eff with #000039. Closest websafe color is: #000099.

    • R 2
    • G 6
    • B 61
    RGB color chart
    • C 97
    • M 90
    • Y 0
    • K 39
    CMYK color chart

#040f9c color description : Dark blue.

#040f9c Color Conversion

The hexadecimal color #040f9c has RGB values of R:4, G:15, B:156 and CMYK values of C:0.97, M:0.9, Y:0, K:0.39. Its decimal value is 266140.

Hex triplet 040f9c #040f9c
RGB Decimal 4, 15, 156 rgb(4,15,156)
RGB Percent 1.6, 5.9, 61.2 rgb(1.6%,5.9%,61.2%)
CMYK 97, 90, 0, 39
HSL 235.7°, 95, 31.4 hsl(235.7,95%,31.4%)
HSV (or HSB) 235.7°, 97.4, 61.2
Web Safe 000099 #000099
CIE-LAB 19.087, 50.259, -72.001
XYZ 6.22, 2.767, 31.657
xyY 0.153, 0.068, 2.767
CIE-LCH 19.087, 87.807, 304.917
CIE-LUV 19.087, -5.825, -72.901
Hunter-Lab 16.635, 37.636, -101.185
Binary 00000100, 00001111, 10011100

Color Schemes with #040f9c

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

Alternatives to #040f9c

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

Similar Colors

#040f9c Preview

Text with hexadecimal color #040f9c

This text has a font color of #040f9c.

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

This paragraph has a background color of #040f9c.

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

This element has a border color of #040f9c.

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

Shades and Tints of #040f9c

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

Shade Color Variation
Tint Color Variation

Tones of #040f9c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f9c 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #171936 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
  • #01287d Protanomaly 1% of men, 0.01% of women
  • #012a73 Deuteranomaly 6% of men, 0.4% of women
  • #012d62 Tritanomaly 0.01% of the population