#040c8f Color Information

In a RGB color space, hex #040c8f is composed of 1.6% red, 4.7% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 91.6% magenta, 0% yellow and 43.9% black. It has a hue angle of 236.5 degrees, a saturation of 94.6% and a lightness of 28.8%. #040c8f color hex could be obtained by blending #0818ff with #00001f. Closest websafe color is: #000099.

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

#040c8f color description : Dark blue.

#040c8f Color Conversion

The hexadecimal color #040c8f has RGB values of R:4, G:12, B:143 and CMYK values of C:0.97, M:0.92, Y:0, K:0.44. Its decimal value is 265359.

Hex triplet 040c8f #040c8f
RGB Decimal 4, 12, 143 rgb(4,12,143)
RGB Percent 1.6, 4.7, 56.1 rgb(1.6%,4.7%,56.1%)
CMYK 97, 92, 0, 44
HSL 236.5°, 94.6, 28.8 hsl(236.5,94.6%,28.8%)
HSV (or HSB) 236.5°, 97.2, 56.1
Web Safe 000099 #000099
CIE-LAB 16.852, 47.457, -67.681
XYZ 5.138, 2.272, 26.153
xyY 0.153, 0.068, 2.272
CIE-LCH 16.852, 82.661, 305.038
CIE-LUV 16.852, -5.075, -64.54
Hunter-Lab 15.072, 34.482, -92.332
Binary 00000100, 00001100, 10001111

Color Schemes with #040c8f

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

Alternatives to #040c8f

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

Similar Colors

#040c8f Preview

Text with hexadecimal color #040c8f

This text has a font color of #040c8f.

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

This paragraph has a background color of #040c8f.

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

This element has a border color of #040c8f.

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

Shades and Tints of #040c8f

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

Shade Color Variation
Tint Color Variation

Tones of #040c8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c8f 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
  • #191919 Achromatopsia 0.005% of the population
  • #151631 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
  • #012473 Protanomaly 1% of men, 0.01% of women
  • #01266a Deuteranomaly 6% of men, 0.4% of women
  • #01295a Tritanomaly 0.01% of the population