#040c27 Color Information

In a RGB color space, hex #040c27 is composed of 1.6% red, 4.7% green and 15.3% blue. Whereas in a CMYK color space, it is composed of 89.7% cyan, 69.2% magenta, 0% yellow and 84.7% black. It has a hue angle of 226.3 degrees, a saturation of 81.4% and a lightness of 8.4%. #040c27 color hex could be obtained by blending #08184e with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 15
    RGB color chart
    • C 90
    • M 69
    • Y 0
    • K 85
    CMYK color chart

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

#040c27 Color Conversion

The hexadecimal color #040c27 has RGB values of R:4, G:12, B:39 and CMYK values of C:0.9, M:0.69, Y:0, K:0.85. Its decimal value is 265255.

Hex triplet 040c27 #040c27
RGB Decimal 4, 12, 39 rgb(4,12,39)
RGB Percent 1.6, 4.7, 15.3 rgb(1.6%,4.7%,15.3%)
CMYK 90, 69, 0, 85
HSL 226.3°, 81.4, 8.4 hsl(226.3,81.4%,8.4%)
HSV (or HSB) 226.3°, 89.7, 15.3
Web Safe 000033 #000033
CIE-LAB 3.931, 5.49, -18.181
XYZ 0.548, 0.435, 1.974
xyY 0.185, 0.147, 0.435
CIE-LCH 3.931, 18.991, 286.804
CIE-LUV 3.931, -1.498, -8.536
Hunter-Lab 6.597, 3.274, -13.128
Binary 00000100, 00001100, 00100111

Color Schemes with #040c27

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

Alternatives to #040c27

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

Similar Colors

#040c27 Preview

Text with hexadecimal color #040c27

This text has a font color of #040c27.

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

This paragraph has a background color of #040c27.

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

This element has a border color of #040c27.

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

Shades and Tints of #040c27

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

Shade Color Variation
Tint Color Variation

Tones of #040c27

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

Tone Color Variation

Color Blindness Simulator

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

  • #0d0d0d Achromatopsia 0.005% of the population
  • #0b0d12 Atypical Achromatopsia 0.001% of the population
  • #001932 Protanopia 1% of men
  • #001b2c Deuteranopia 1% of men
  • #001d1e Tritanopia 0.001% of the population
  • #01142e Protanomaly 1% of men, 0.01% of women
  • #01152a Deuteranomaly 6% of men, 0.4% of women
  • #011621 Tritanomaly 0.01% of the population