colorhexa.com

#040c6a hex color

In a RGB color space, hex #040c6a is composed of 1.6% red, 4.7% green and 41.6% blue. Whereas in a CMYK color space, it is composed of 96.2% cyan, 88.7% magenta, 0% yellow and 58.4% black. It has a hue angle of 235.3 degrees, a saturation of 92.7% and a lightness of 21.6%. #040c6a color hex could be obtained by blending #0818d4 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 5
    • B 42

    RGB color chart

    • C 96
    • M 89
    • Y 0
    • K 58

    CMYK color chart

#040c6a color description : Very dark blue.

The hexadecimal color #040c6a has RGB values of R:4, G:12, B:106 and CMYK values of C:0.96, M:0.89, Y:0, K:0.58. Its decimal value is 265322.

Hex triplet 040c6a #040c6a
RGB Decimal 4, 12, 106 rgb(4,12,106)
RGB Percent 1.6, 4.7, 41.6 rgb(1.6%,4.7%,41.6%)
CMYK 96, 89, 0, 58
HSL 235.3°, 92.7, 21.6 hsl(235.3,92.7%,21.6%)
HSV (or HSB) 235.3°, 96.2, 41.6
Web Safe 000066 #000066
CIE-LAB 11.478, 35.662, -52.953
XYZ 2.783, 1.329, 13.745
xyY 0.156, 0.074, 1.329
CIE-LCH 11.478, 63.841, 303.959
CIE-LUV 11.478, -3.552, -41.972
Hunter-Lab 11.529, 22.906, -62.616
Binary 00000100, 00001100, 01101010

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #040c6a

This text has a font color of #040c6a.

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

#040c6a background color

This paragraph has a background color of #040c6a.

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

#040c6a border color

This element has a border color of #040c6a.

<div style="border:1px solid #040c6a;">Content here</div>

CSS codes

.text {color:#040c6a;}
.background {background-color:#040c6a;}
.border {border:1px solid #040c6a;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #040c6a 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

  • #141414 Achromatopsia 0.005% of the population
  • #111225 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #00284f Protanopia 1% of men
  • #002b44 Deuteranopia 1% of men
  • #002e30 Tritanopia 0.001% of the population

Trichromacy

  • #011e59 Protanomaly 1% of men, 0.01% of women
  • #011f52 Deuteranomaly 6% of men, 0.4% of women
  • #012145 Tritanomaly 0.01% of the population