#040f8e Color Information

In a RGB color space, hex #040f8e is composed of 1.6% red, 5.9% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 89.4% magenta, 0% yellow and 44.3% black. It has a hue angle of 235.2 degrees, a saturation of 94.5% and a lightness of 28.6%. #040f8e color hex could be obtained by blending #081eff with #00001d. Closest websafe color is: #000099.

    • R 2
    • G 6
    • B 56
    RGB color chart
    • C 97
    • M 89
    • Y 0
    • K 44
    CMYK color chart

#040f8e color description : Dark blue.

#040f8e Color Conversion

The hexadecimal color #040f8e has RGB values of R:4, G:15, B:142 and CMYK values of C:0.97, M:0.89, Y:0, K:0.44. Its decimal value is 266126.

Hex triplet 040f8e #040f8e
RGB Decimal 4, 15, 142 rgb(4,15,142)
RGB Percent 1.6, 5.9, 55.7 rgb(1.6%,5.9%,55.7%)
CMYK 97, 89, 0, 44
HSL 235.2°, 94.5, 28.6 hsl(235.2,94.5%,28.6%)
HSV (or HSB) 235.2°, 97.2, 55.7
Web Safe 000099 #000099
CIE-LAB 17.084, 46.012, -66.668
XYZ 5.102, 2.32, 25.769
xyY 0.154, 0.07, 2.32
CIE-LCH 17.084, 81.005, 304.612
CIE-LUV 17.084, -5.266, -64.45
Hunter-Lab 15.232, 33.139, -89.643
Binary 00000100, 00001111, 10001110

Color Schemes with #040f8e

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

Alternatives to #040f8e

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

Similar Colors

#040f8e Preview

Text with hexadecimal color #040f8e

This text has a font color of #040f8e.

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

This paragraph has a background color of #040f8e.

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

This element has a border color of #040f8e.

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

Shades and Tints of #040f8e

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

Shade Color Variation
Tint Color Variation

Tones of #040f8e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f8e 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
  • #1a1a1a Achromatopsia 0.005% of the population
  • #161831 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003364 Protanopia 1% of men
  • #003656 Deuteranopia 1% of men
  • #003a3c Tritanopia 0.001% of the population
Trichromacy
  • #012673 Protanomaly 1% of men, 0.01% of women
  • #01286a Deuteranomaly 6% of men, 0.4% of women
  • #012a5a Tritanomaly 0.01% of the population