#040f78 Color Information

In a RGB color space, hex #040f78 is composed of 1.6% red, 5.9% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 96.7% cyan, 87.5% magenta, 0% yellow and 52.9% black. It has a hue angle of 234.3 degrees, a saturation of 93.5% and a lightness of 24.3%. #040f78 color hex could be obtained by blending #081ef0 with #000000. Closest websafe color is: #000066.

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

#040f78 color description : Dark blue.

#040f78 Color Conversion

The hexadecimal color #040f78 has RGB values of R:4, G:15, B:120 and CMYK values of C:0.97, M:0.88, Y:0, K:0.53. Its decimal value is 266104.

Hex triplet 040f78 #040f78
RGB Decimal 4, 15, 120 rgb(4,15,120)
RGB Percent 1.6, 5.9, 47.1 rgb(1.6%,5.9%,47.1%)
CMYK 97, 88, 0, 53
HSL 234.3°, 93.5, 24.3 hsl(234.3,93.5%,24.3%)
HSV (or HSB) 234.3°, 96.7, 47.1
Web Safe 000066 #000066
CIE-LAB 13.962, 38.93, -57.925
XYZ 3.61, 1.723, 17.911
xyY 0.155, 0.074, 1.723
CIE-LCH 13.962, 69.791, 303.904
CIE-LUV 13.962, -4.401, -51.169
Hunter-Lab 13.127, 26.12, -71.705
Binary 00000100, 00001111, 01111000

Color Schemes with #040f78

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

Alternatives to #040f78

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

Similar Colors

#040f78 Preview

Text with hexadecimal color #040f78

This text has a font color of #040f78.

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

This paragraph has a background color of #040f78.

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

This element has a border color of #040f78.

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

Shades and Tints of #040f78

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f78 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
  • #14162b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002d58 Protanopia 1% of men
  • #00304c Deuteranopia 1% of men
  • #003335 Tritanopia 0.001% of the population
Trichromacy
  • #012263 Protanomaly 1% of men, 0.01% of women
  • #01245c Deuteranomaly 6% of men, 0.4% of women
  • #01264d Tritanomaly 0.01% of the population