#040f9d Color Information

In a RGB color space, hex #040f9d is composed of 1.6% red, 5.9% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 90.4% magenta, 0% yellow and 38.4% black. It has a hue angle of 235.7 degrees, a saturation of 95% and a lightness of 31.6%. #040f9d color hex could be obtained by blending #081eff with #00003b. Closest websafe color is: #000099.

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

#040f9d color description : Dark blue.

#040f9d Color Conversion

The hexadecimal color #040f9d has RGB values of R:4, G:15, B:157 and CMYK values of C:0.97, M:0.9, Y:0, K:0.38. Its decimal value is 266141.

Hex triplet 040f9d #040f9d
RGB Decimal 4, 15, 157 rgb(4,15,157)
RGB Percent 1.6, 5.9, 61.6 rgb(1.6%,5.9%,61.6%)
CMYK 97, 90, 0, 38
HSL 235.7°, 95, 31.6 hsl(235.7,95%,31.6%)
HSV (or HSB) 235.7°, 97.5, 61.6
Web Safe 000099 #000099
CIE-LAB 19.23, 50.556, -72.376
XYZ 6.305, 2.801, 32.105
xyY 0.153, 0.068, 2.801
CIE-LCH 19.23, 88.285, 304.935
CIE-LUV 19.23, -5.865, -73.504
Hunter-Lab 16.737, 37.958, -102.014
Binary 00000100, 00001111, 10011101

Color Schemes with #040f9d

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

Alternatives to #040f9d

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

Similar Colors

#040f9d Preview

Text with hexadecimal color #040f9d

This text has a font color of #040f9d.

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

This paragraph has a background color of #040f9d.

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

This element has a border color of #040f9d.

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

Shades and Tints of #040f9d

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 #040f9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f9d 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.

  • #1c1c1c Achromatopsia 0.005% of the population
  • #171936 Atypical Achromatopsia 0.001% of the population
  • #00376c Protanopia 1% of men
  • #003b5d Deuteranopia 1% of men
  • #003f41 Tritanopia 0.001% of the population
  • #01297e Protanomaly 1% of men, 0.01% of women
  • #012b74 Deuteranomaly 6% of men, 0.4% of women
  • #012d62 Tritanomaly 0.01% of the population