#040f7f Color Information

In a RGB color space, hex #040f7f is composed of 1.6% red, 5.9% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 88.2% magenta, 0% yellow and 50.2% black. It has a hue angle of 234.6 degrees, a saturation of 93.9% and a lightness of 25.7%. #040f7f color hex could be obtained by blending #081efe with #000000. Closest websafe color is: #000066.

    • R 2
    • G 6
    • B 50
    RGB color chart
    • C 97
    • M 88
    • Y 0
    • K 50
    CMYK color chart

#040f7f color description : Dark blue.

#040f7f Color Conversion

The hexadecimal color #040f7f has RGB values of R:4, G:15, B:127 and CMYK values of C:0.97, M:0.88, Y:0, K:0.5. Its decimal value is 266111.

Hex triplet 040f7f #040f7f
RGB Decimal 4, 15, 127 rgb(4,15,127)
RGB Percent 1.6, 5.9, 49.8 rgb(1.6%,5.9%,49.8%)
CMYK 97, 88, 0, 50
HSL 234.6°, 93.9, 25.7 hsl(234.6,93.9%,25.7%)
HSV (or HSB) 234.6°, 96.9, 49.8
Web Safe 000066 #000066
CIE-LAB 14.95, 41.245, -60.762
XYZ 4.051, 1.899, 20.231
xyY 0.155, 0.073, 1.899
CIE-LCH 14.95, 73.438, 304.169
CIE-LUV 14.95, -4.674, -55.388
Hunter-Lab 13.782, 28.347, -77.384
Binary 00000100, 00001111, 01111111

Color Schemes with #040f7f

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

Alternatives to #040f7f

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

Similar Colors

#040f7f Preview

Text with hexadecimal color #040f7f

This text has a font color of #040f7f.

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

This paragraph has a background color of #040f7f.

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

This element has a border color of #040f7f.

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

Shades and Tints of #040f7f

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, #00020d is the darkest color, while #f9f9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040f7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f7f 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
  • #181818 Achromatopsia 0.005% of the population
  • #14162d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002f5c Protanopia 1% of men
  • #00324f Deuteranopia 1% of men
  • #003537 Tritanopia 0.001% of the population
Trichromacy
  • #012368 Protanomaly 1% of men, 0.01% of women
  • #012560 Deuteranomaly 6% of men, 0.4% of women
  • #012751 Tritanomaly 0.01% of the population