#040f8c Color Information

In a RGB color space, hex #040f8c is composed of 1.6% red, 5.9% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 89.3% magenta, 0% yellow and 45.1% black. It has a hue angle of 235.1 degrees, a saturation of 94.4% and a lightness of 28.2%. #040f8c color hex could be obtained by blending #081eff with #000019. Closest websafe color is: #000099.

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

#040f8c color description : Dark blue.

#040f8c Color Conversion

The hexadecimal color #040f8c has RGB values of R:4, G:15, B:140 and CMYK values of C:0.97, M:0.89, Y:0, K:0.45. Its decimal value is 266124.

Hex triplet 040f8c #040f8c
RGB Decimal 4, 15, 140 rgb(4,15,140)
RGB Percent 1.6, 5.9, 54.9 rgb(1.6%,5.9%,54.9%)
CMYK 97, 89, 0, 45
HSL 235.1°, 94.4, 28.2 hsl(235.1,94.4%,28.2%)
HSV (or HSB) 235.1°, 97.1, 54.9
Web Safe 000099 #000099
CIE-LAB 16.799, 45.39, -65.893
XYZ 4.954, 2.261, 24.985
xyY 0.154, 0.07, 2.261
CIE-LCH 16.799, 80.014, 304.561
CIE-LUV 16.799, -5.186, -63.242
Hunter-Lab 15.035, 32.499, -88.002
Binary 00000100, 00001111, 10001100

Color Schemes with #040f8c

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

Alternatives to #040f8c

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

Similar Colors

#040f8c Preview

Text with hexadecimal color #040f8c

This text has a font color of #040f8c.

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

This paragraph has a background color of #040f8c.

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

This element has a border color of #040f8c.

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

Shades and Tints of #040f8c

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

Shade Color Variation
Tint Color Variation

Tones of #040f8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f8c 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
  • #003363 Protanopia 1% of men
  • #003655 Deuteranopia 1% of men
  • #00393c Tritanopia 0.001% of the population
Trichromacy
  • #012671 Protanomaly 1% of men, 0.01% of women
  • #012769 Deuteranomaly 6% of men, 0.4% of women
  • #012a59 Tritanomaly 0.01% of the population