#040f7d Color Information

In a RGB color space, hex #040f7d is composed of 1.6% red, 5.9% green and 49% blue. Whereas in a CMYK color space, it is composed of 96.8% cyan, 88% magenta, 0% yellow and 51% black. It has a hue angle of 234.5 degrees, a saturation of 93.8% and a lightness of 25.3%. #040f7d color hex could be obtained by blending #081efa with #000000. Closest websafe color is: #000066.

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

#040f7d color description : Dark blue.

#040f7d Color Conversion

The hexadecimal color #040f7d has RGB values of R:4, G:15, B:125 and CMYK values of C:0.97, M:0.88, Y:0, K:0.51. Its decimal value is 266109.

Hex triplet 040f7d #040f7d
RGB Decimal 4, 15, 125 rgb(4,15,125)
RGB Percent 1.6, 5.9, 49 rgb(1.6%,5.9%,49%)
CMYK 97, 88, 0, 51
HSL 234.5°, 93.8, 25.3 hsl(234.5,93.8%,25.3%)
HSV (or HSB) 234.5°, 96.8, 49
Web Safe 000066 #000066
CIE-LAB 14.667, 40.59, -59.957
XYZ 3.922, 1.848, 19.551
xyY 0.155, 0.073, 1.848
CIE-LCH 14.667, 72.404, 304.097
CIE-LUV 14.667, -4.595, -54.181
Hunter-Lab 13.593, 27.71, -75.759
Binary 00000100, 00001111, 01111101

Color Schemes with #040f7d

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

Alternatives to #040f7d

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

Similar Colors

#040f7d Preview

Text with hexadecimal color #040f7d

This text has a font color of #040f7d.

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

This paragraph has a background color of #040f7d.

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

This element has a border color of #040f7d.

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

Shades and Tints of #040f7d

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, #00010b is the darkest color, while #f7f8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040f7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f7d 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
  • #14162c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002f5b Protanopia 1% of men
  • #00314e Deuteranopia 1% of men
  • #003537 Tritanopia 0.001% of the population
Trichromacy
  • #012367 Protanomaly 1% of men, 0.01% of women
  • #01255f Deuteranomaly 6% of men, 0.4% of women
  • #012750 Tritanomaly 0.01% of the population