#040c64 Color Information

In a RGB color space, hex #040c64 is composed of 1.6% red, 4.7% green and 39.2% blue. Whereas in a CMYK color space, it is composed of 96% cyan, 88% magenta, 0% yellow and 60.8% black. It has a hue angle of 235 degrees, a saturation of 92.3% and a lightness of 20.4%. #040c64 color hex could be obtained by blending #0818c8 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 5
    • B 39
    RGB color chart
    • C 96
    • M 88
    • Y 0
    • K 61
    CMYK color chart

#040c64 color description : Very dark blue.

#040c64 Color Conversion

The hexadecimal color #040c64 has RGB values of R:4, G:12, B:100 and CMYK values of C:0.96, M:0.88, Y:0, K:0.61. Its decimal value is 265316.

Hex triplet 040c64 #040c64
RGB Decimal 4, 12, 100 rgb(4,12,100)
RGB Percent 1.6, 4.7, 39.2 rgb(1.6%,4.7%,39.2%)
CMYK 96, 88, 0, 61
HSL 235°, 92.3, 20.4 hsl(235,92.3%,20.4%)
HSV (or HSB) 235°, 96, 39.2
Web Safe 000066 #000066
CIE-LAB 10.621, 33.58, -50.411
XYZ 2.481, 1.209, 12.158
xyY 0.157, 0.076, 1.209
CIE-LCH 10.621, 60.571, 303.669
CIE-LUV 10.621, -3.31, -38.355
Hunter-Lab 10.994, 21.048, -57.874
Binary 00000100, 00001100, 01100100

Color Schemes with #040c64

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

Alternatives to #040c64

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

Similar Colors

#040c64 Preview

Text with hexadecimal color #040c64

This text has a font color of #040c64.

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

This paragraph has a background color of #040c64.

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

This element has a border color of #040c64.

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

Shades and Tints of #040c64

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

Shade Color Variation
Tint Color Variation

Tones of #040c64

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c64 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
  • #111224 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00274c Protanopia 1% of men
  • #002941 Deuteranopia 1% of men
  • #002c2e Tritanopia 0.001% of the population
Trichromacy
  • #011d54 Protanomaly 1% of men, 0.01% of women
  • #011e4e Deuteranomaly 6% of men, 0.4% of women
  • #012041 Tritanomaly 0.01% of the population