#040c51 Color Information

In a RGB color space, hex #040c51 is composed of 1.6% red, 4.7% green and 31.8% blue. Whereas in a CMYK color space, it is composed of 95.1% cyan, 85.2% magenta, 0% yellow and 68.2% black. It has a hue angle of 233.8 degrees, a saturation of 90.6% and a lightness of 16.7%. #040c51 color hex could be obtained by blending #0818a2 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

#040c51 color description : Very dark blue.

#040c51 Color Conversion

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

Hex triplet 040c51 #040c51
RGB Decimal 4, 12, 81 rgb(4,12,81)
RGB Percent 1.6, 4.7, 31.8 rgb(1.6%,4.7%,31.8%)
CMYK 95, 85, 0, 68
HSL 233.8°, 90.6, 16.7 hsl(233.8,90.6%,16.7%)
HSV (or HSB) 233.8°, 95.1, 31.8
Web Safe 000066 #000066
CIE-LAB 7.973, 26.56, -41.966
XYZ 1.666, 0.883, 7.867
xyY 0.16, 0.085, 0.883
CIE-LCH 7.973, 49.664, 302.329
CIE-LUV 7.973, -2.564, -27.16
Hunter-Lab 9.395, 15.219, -43.067
Binary 00000100, 00001100, 01010001

Color Schemes with #040c51

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

Alternatives to #040c51

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

Similar Colors

#040c51 Preview

Text with hexadecimal color #040c51

This text has a font color of #040c51.

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

This paragraph has a background color of #040c51.

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

This element has a border color of #040c51.

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

Shades and Tints of #040c51

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

Shade Color Variation
Tint Color Variation

Tones of #040c51

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c51 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
  • #111111 Achromatopsia 0.005% of the population
  • #0e101e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002243 Protanopia 1% of men
  • #002439 Deuteranopia 1% of men
  • #002728 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