#040c5f Color Information

In a RGB color space, hex #040c5f is composed of 1.6% red, 4.7% green and 37.3% blue. Whereas in a CMYK color space, it is composed of 95.8% cyan, 87.4% magenta, 0% yellow and 62.7% black. It has a hue angle of 234.7 degrees, a saturation of 91.9% and a lightness of 19.4%. #040c5f color hex could be obtained by blending #0818be with #000000. Closest websafe color is: #000066.

    • R 2
    • G 5
    • B 37
    RGB color chart
    • C 96
    • M 87
    • Y 0
    • K 63
    CMYK color chart

#040c5f color description : Very dark blue.

#040c5f Color Conversion

The hexadecimal color #040c5f has RGB values of R:4, G:12, B:95 and CMYK values of C:0.96, M:0.87, Y:0, K:0.63. Its decimal value is 265311.

Hex triplet 040c5f #040c5f
RGB Decimal 4, 12, 95 rgb(4,12,95)
RGB Percent 1.6, 4.7, 37.3 rgb(1.6%,4.7%,37.3%)
CMYK 96, 87, 0, 63
HSL 234.7°, 91.9, 19.4 hsl(234.7,91.9%,19.4%)
HSV (or HSB) 234.7°, 95.8, 37.3
Web Safe 000066 #000066
CIE-LAB 9.913, 31.8, -48.251
XYZ 2.247, 1.115, 10.923
xyY 0.157, 0.078, 1.115
CIE-LCH 9.913, 57.787, 303.387
CIE-LUV 9.913, -3.111, -35.364
Hunter-Lab 10.558, 19.505, -53.944
Binary 00000100, 00001100, 01011111

Color Schemes with #040c5f

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

Alternatives to #040c5f

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

Similar Colors

#040c5f Preview

Text with hexadecimal color #040c5f

This text has a font color of #040c5f.

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

This paragraph has a background color of #040c5f.

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

This element has a border color of #040c5f.

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

Shades and Tints of #040c5f

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

Shade Color Variation
Tint Color Variation

Tones of #040c5f

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

Tone Color Variation

Color Blindness Simulator

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

  • #131313 Achromatopsia 0.005% of the population
  • #101222 Atypical Achromatopsia 0.001% of the population
  • #002649 Protanopia 1% of men
  • #00283f Deuteranopia 1% of men
  • #002b2c Tritanopia 0.001% of the population
  • #011c51 Protanomaly 1% of men, 0.01% of women
  • #011e4b Deuteranomaly 6% of men, 0.4% of women
  • #011f3f Tritanomaly 0.01% of the population