#040c52 Color Information

In a RGB color space, hex #040c52 is composed of 1.6% red, 4.7% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 95.1% cyan, 85.4% magenta, 0% yellow and 67.8% black. It has a hue angle of 233.8 degrees, a saturation of 90.7% and a lightness of 16.9%. #040c52 color hex could be obtained by blending #0818a4 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 5
    • B 32
    RGB color chart
    • C 95
    • M 85
    • Y 0
    • K 68
    CMYK color chart

#040c52 color description : Very dark blue.

#040c52 Color Conversion

The hexadecimal color #040c52 has RGB values of R:4, G:12, B:82 and CMYK values of C:0.95, M:0.85, Y:0, K:0.68. Its decimal value is 265298.

Hex triplet 040c52 #040c52
RGB Decimal 4, 12, 82 rgb(4,12,82)
RGB Percent 1.6, 4.7, 32.2 rgb(1.6%,4.7%,32.2%)
CMYK 95, 85, 0, 68
HSL 233.8°, 90.7, 16.9 hsl(233.8,90.7%,16.9%)
HSV (or HSB) 233.8°, 95.1, 32.2
Web Safe 000066 #000066
CIE-LAB 8.109, 26.948, -42.428
XYZ 1.704, 0.898, 8.066
xyY 0.16, 0.084, 0.898
CIE-LCH 8.109, 50.262, 302.421
CIE-LUV 8.109, -2.602, -27.735
Hunter-Lab 9.475, 15.523, -43.836
Binary 00000100, 00001100, 01010010

Color Schemes with #040c52

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

Alternatives to #040c52

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

Similar Colors

#040c52 Preview

Text with hexadecimal color #040c52

This text has a font color of #040c52.

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

This paragraph has a background color of #040c52.

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

This element has a border color of #040c52.

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

Shades and Tints of #040c52

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 #f3f5fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c52

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c52 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
  • #121212 Achromatopsia 0.005% of the population
  • #0f111f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002243 Protanopia 1% of men
  • #00243a Deuteranopia 1% of men
  • #002729 Tritanopia 0.001% of the population
Trichromacy
  • #011a48 Protanomaly 1% of men, 0.01% of women
  • #011b42 Deuteranomaly 6% of men, 0.4% of women
  • #011d37 Tritanomaly 0.01% of the population