#040f9b Color Information

In a RGB color space, hex #040f9b is composed of 1.6% red, 5.9% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 90.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 235.6 degrees, a saturation of 95% and a lightness of 31.2%. #040f9b color hex could be obtained by blending #081eff with #000037. 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

#040f9b color description : Dark blue.

#040f9b Color Conversion

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

Hex triplet 040f9b #040f9b
RGB Decimal 4, 15, 155 rgb(4,15,155)
RGB Percent 1.6, 5.9, 60.8 rgb(1.6%,5.9%,60.8%)
CMYK 97, 90, 0, 39
HSL 235.6°, 95, 31.2 hsl(235.6,95%,31.2%)
HSV (or HSB) 235.6°, 97.4, 60.8
Web Safe 000099 #000099
CIE-LAB 18.943, 49.962, -71.625
XYZ 6.136, 2.734, 31.213
xyY 0.153, 0.068, 2.734
CIE-LCH 18.943, 87.329, 304.898
CIE-LUV 18.943, -5.785, -72.298
Hunter-Lab 16.533, 37.314, -100.358
Binary 00000100, 00001111, 10011011

Color Schemes with #040f9b

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

Alternatives to #040f9b

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

Similar Colors

#040f9b Preview

Text with hexadecimal color #040f9b

This text has a font color of #040f9b.

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

This paragraph has a background color of #040f9b.

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

This element has a border color of #040f9b.

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

Shades and Tints of #040f9b

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

Shade Color Variation
Tint Color Variation

Tones of #040f9b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f9b 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
  • #171935 Atypical Achromatopsia 0.001% of the population
  • #00376b Protanopia 1% of men
  • #003a5c Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
  • #01287c Protanomaly 1% of men, 0.01% of women
  • #012a73 Deuteranomaly 6% of men, 0.4% of women
  • #012d61 Tritanomaly 0.01% of the population