#040c28 Color Information

In a RGB color space, hex #040c28 is composed of 1.6% red, 4.7% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 90% cyan, 70% magenta, 0% yellow and 84.3% black. It has a hue angle of 226.7 degrees, a saturation of 81.8% and a lightness of 8.6%. #040c28 color hex could be obtained by blending #081850 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 16
    RGB color chart
    • C 90
    • M 70
    • Y 0
    • K 84
    CMYK color chart

#040c28 color description : Very dark (mostly black) blue.

#040c28 Color Conversion

The hexadecimal color #040c28 has RGB values of R:4, G:12, B:40 and CMYK values of C:0.9, M:0.7, Y:0, K:0.84. Its decimal value is 265256.

Hex triplet 040c28 #040c28
RGB Decimal 4, 12, 40 rgb(4,12,40)
RGB Percent 1.6, 4.7, 15.7 rgb(1.6%,4.7%,15.7%)
CMYK 90, 70, 0, 84
HSL 226.7°, 81.8, 8.6 hsl(226.7,81.8%,8.6%)
HSV (or HSB) 226.7°, 90, 15.7
Web Safe 000033 #000033
CIE-LAB 3.992, 5.917, -18.849
XYZ 0.564, 0.442, 2.063
xyY 0.184, 0.144, 0.442
CIE-LCH 3.992, 19.756, 287.427
CIE-LUV 3.992, -1.511, -8.88
Hunter-Lab 6.648, 3.523, -13.746
Binary 00000100, 00001100, 00101000

Color Schemes with #040c28

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

Alternatives to #040c28

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

Similar Colors

#040c28 Preview

Text with hexadecimal color #040c28

This text has a font color of #040c28.

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

This paragraph has a background color of #040c28.

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

This element has a border color of #040c28.

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

Shades and Tints of #040c28

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

Shade Color Variation
Tint Color Variation

Tones of #040c28

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c28 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
  • #0d0d0d Achromatopsia 0.005% of the population
  • #0b0d12 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001932 Protanopia 1% of men
  • #001b2c Deuteranopia 1% of men
  • #001d1f Tritanopia 0.001% of the population
Trichromacy
  • #01142e Protanomaly 1% of men, 0.01% of women
  • #01152a Deuteranomaly 6% of men, 0.4% of women
  • #011622 Tritanomaly 0.01% of the population