#040f52 Color Information

In a RGB color space, hex #040f52 is composed of 1.6% red, 5.9% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 95.1% cyan, 81.7% magenta, 0% yellow and 67.8% black. It has a hue angle of 231.5 degrees, a saturation of 90.7% and a lightness of 16.9%. #040f52 color hex could be obtained by blending #081ea4 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 6
    • B 32
    RGB color chart
    • C 95
    • M 82
    • Y 0
    • K 68
    CMYK color chart

#040f52 color description : Very dark blue.

#040f52 Color Conversion

The hexadecimal color #040f52 has RGB values of R:4, G:15, B:82 and CMYK values of C:0.95, M:0.82, Y:0, K:0.68. Its decimal value is 266066.

Hex triplet 040f52 #040f52
RGB Decimal 4, 15, 82 rgb(4,15,82)
RGB Percent 1.6, 5.9, 32.2 rgb(1.6%,5.9%,32.2%)
CMYK 95, 82, 0, 68
HSL 231.5°, 90.7, 16.9 hsl(231.5,90.7%,16.9%)
HSV (or HSB) 231.5°, 95.1, 32.2
Web Safe 000066 #000066
CIE-LAB 8.794, 24.995, -41.292
XYZ 1.744, 0.977, 8.079
xyY 0.161, 0.09, 0.977
CIE-LCH 8.794, 48.268, 301.188
CIE-LUV 8.794, -2.993, -28.812
Hunter-Lab 9.882, 14.201, -41.554
Binary 00000100, 00001111, 01010010

Color Schemes with #040f52

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

Alternatives to #040f52

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

Similar Colors

#040f52 Preview

Text with hexadecimal color #040f52

This text has a font color of #040f52.

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

This paragraph has a background color of #040f52.

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

This element has a border color of #040f52.

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

Shades and Tints of #040f52

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

Shade Color Variation
Tint Color Variation

Tones of #040f52

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f52 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
  • #131313 Achromatopsia 0.005% of the population
  • #101220 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002445 Protanopia 1% of men
  • #00263c Deuteranopia 1% of men
  • #00282a Tritanopia 0.001% of the population
Trichromacy
  • #011c4a Protanomaly 1% of men, 0.01% of women
  • #011d44 Deuteranomaly 6% of men, 0.4% of women
  • #011f38 Tritanomaly 0.01% of the population