#040f9f Color Information

In a RGB color space, hex #040f9f is composed of 1.6% red, 5.9% green and 62.4% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 90.6% magenta, 0% yellow and 37.6% black. It has a hue angle of 235.7 degrees, a saturation of 95.1% and a lightness of 32%. #040f9f color hex could be obtained by blending #081eff with #00003f. Closest websafe color is: #000099.

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

#040f9f color description : Dark blue.

#040f9f Color Conversion

The hexadecimal color #040f9f has RGB values of R:4, G:15, B:159 and CMYK values of C:0.97, M:0.91, Y:0, K:0.38. Its decimal value is 266143.

Hex triplet 040f9f #040f9f
RGB Decimal 4, 15, 159 rgb(4,15,159)
RGB Percent 1.6, 5.9, 62.4 rgb(1.6%,5.9%,62.4%)
CMYK 97, 91, 0, 38
HSL 235.7°, 95.1, 32 hsl(235.7,95.1%,32%)
HSV (or HSB) 235.7°, 97.5, 62.4
Web Safe 000099 #000099
CIE-LAB 19.516, 51.148, -73.124
XYZ 6.478, 2.87, 33.012
xyY 0.153, 0.068, 2.87
CIE-LCH 19.516, 89.237, 304.972
CIE-LUV 19.516, -5.945, -74.708
Hunter-Lab 16.942, 38.602, -103.671
Binary 00000100, 00001111, 10011111

Color Schemes with #040f9f

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

Alternatives to #040f9f

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

Similar Colors

#040f9f Preview

Text with hexadecimal color #040f9f

This text has a font color of #040f9f.

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

This paragraph has a background color of #040f9f.

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

This element has a border color of #040f9f.

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

Shades and Tints of #040f9f

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

Shade Color Variation
Tint Color Variation

Tones of #040f9f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f9f 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
  • #00386d Protanopia 1% of men
  • #003b5e Deuteranopia 1% of men
  • #003f42 Tritanopia 0.001% of the population
Trichromacy
  • #01297f Protanomaly 1% of men, 0.01% of women
  • #012b75 Deuteranomaly 6% of men, 0.4% of women
  • #012e64 Tritanomaly 0.01% of the population