#040c7f Color Information

In a RGB color space, hex #040c7f is composed of 1.6% red, 4.7% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 90.6% magenta, 0% yellow and 50.2% black. It has a hue angle of 236.1 degrees, a saturation of 93.9% and a lightness of 25.7%. #040c7f color hex could be obtained by blending #0818fe with #000000. Closest websafe color is: #000066.

    • R 2
    • G 5
    • B 50
    RGB color chart
    • C 97
    • M 91
    • Y 0
    • K 50
    CMYK color chart

#040c7f color description : Dark blue.

#040c7f Color Conversion

The hexadecimal color #040c7f has RGB values of R:4, G:12, B:127 and CMYK values of C:0.97, M:0.91, Y:0, K:0.5. Its decimal value is 265343.

Hex triplet 040c7f #040c7f
RGB Decimal 4, 12, 127 rgb(4,12,127)
RGB Percent 1.6, 4.7, 49.8 rgb(1.6%,4.7%,49.8%)
CMYK 97, 91, 0, 50
HSL 236.1°, 93.9, 25.7 hsl(236.1,93.9%,25.7%)
HSV (or HSB) 236.1°, 96.9, 49.8
Web Safe 000066 #000066
CIE-LAB 14.517, 42.546, -61.485
XYZ 4.012, 1.821, 20.218
xyY 0.154, 0.07, 1.821
CIE-LCH 14.517, 74.77, 304.682
CIE-LUV 14.517, -4.412, -54.761
Hunter-Lab 13.494, 29.453, -79.39
Binary 00000100, 00001100, 01111111

Color Schemes with #040c7f

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

Alternatives to #040c7f

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

Similar Colors

#040c7f Preview

Text with hexadecimal color #040c7f

This text has a font color of #040c7f.

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

This paragraph has a background color of #040c7f.

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

This element has a border color of #040c7f.

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

Shades and Tints of #040c7f

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

Shade Color Variation
Tint Color Variation

Tones of #040c7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c7f 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
  • #171717 Achromatopsia 0.005% of the population
  • #13152c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002e5a Protanopia 1% of men
  • #00314e Deuteranopia 1% of men
  • #003436 Tritanopia 0.001% of the population
Trichromacy
  • #012267 Protanomaly 1% of men, 0.01% of women
  • #01235f Deuteranomaly 6% of men, 0.4% of women
  • #012651 Tritanomaly 0.01% of the population