#040c45 Color Information

In a RGB color space, hex #040c45 is composed of 1.6% red, 4.7% green and 27.1% blue. Whereas in a CMYK color space, it is composed of 94.2% cyan, 82.6% magenta, 0% yellow and 72.9% black. It has a hue angle of 232.6 degrees, a saturation of 89% and a lightness of 14.3%. #040c45 color hex could be obtained by blending #08188a with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 27
    RGB color chart
    • C 94
    • M 83
    • Y 0
    • K 73
    CMYK color chart

#040c45 color description : Very dark blue.

#040c45 Color Conversion

The hexadecimal color #040c45 has RGB values of R:4, G:12, B:69 and CMYK values of C:0.94, M:0.83, Y:0, K:0.73. Its decimal value is 265285.

Hex triplet 040c45 #040c45
RGB Decimal 4, 12, 69 rgb(4,12,69)
RGB Percent 1.6, 4.7, 27.1 rgb(1.6%,4.7%,27.1%)
CMYK 94, 83, 0, 73
HSL 232.6°, 89, 14.3 hsl(232.6,89%,14.3%)
HSV (or HSB) 232.6°, 94.2, 27.1
Web Safe 000033 #000033
CIE-LAB 6.489, 21.26, -36.054
XYZ 1.256, 0.718, 5.702
xyY 0.164, 0.094, 0.718
CIE-LCH 6.489, 41.856, 300.527
CIE-LUV 6.489, -2.15, -20.789
Hunter-Lab 8.475, 11.61, -33.958
Binary 00000100, 00001100, 01000101

Color Schemes with #040c45

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

Alternatives to #040c45

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

Similar Colors

#040c45 Preview

Text with hexadecimal color #040c45

This text has a font color of #040c45.

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

This paragraph has a background color of #040c45.

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

This element has a border color of #040c45.

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

Shades and Tints of #040c45

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, #01020d is the darkest color, while #fafaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c45

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c45 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
  • #101010 Achromatopsia 0.005% of the population
  • #0e0f1b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001f3d Protanopia 1% of men
  • #002135 Deuteranopia 1% of men
  • #002325 Tritanopia 0.001% of the population
Trichromacy
  • #011840 Protanomaly 1% of men, 0.01% of women
  • #01193b Deuteranomaly 6% of men, 0.4% of women
  • #011b30 Tritanomaly 0.01% of the population