#040f66 Color Information

In a RGB color space, hex #040f66 is composed of 1.6% red, 5.9% green and 40% blue. Whereas in a CMYK color space, it is composed of 96.1% cyan, 85.3% magenta, 0% yellow and 60% black. It has a hue angle of 233.3 degrees, a saturation of 92.5% and a lightness of 20.8%. #040f66 color hex could be obtained by blending #081ecc with #000000. Closest websafe color is: #000066.

    • R 2
    • G 6
    • B 40
    RGB color chart
    • C 96
    • M 85
    • Y 0
    • K 60
    CMYK color chart

#040f66 color description : Very dark blue.

#040f66 Color Conversion

The hexadecimal color #040f66 has RGB values of R:4, G:15, B:102 and CMYK values of C:0.96, M:0.85, Y:0, K:0.6. Its decimal value is 266086.

Hex triplet 040f66 #040f66
RGB Decimal 4, 15, 102 rgb(4,15,102)
RGB Percent 1.6, 5.9, 40 rgb(1.6%,5.9%,40%)
CMYK 96, 85, 0, 60
HSL 233.3°, 92.5, 20.8 hsl(233.3,92.5%,20.8%)
HSV (or HSB) 233.3°, 96.1, 40
Web Safe 000066 #000066
CIE-LAB 11.46, 32.652, -50.342
XYZ 2.619, 1.327, 12.688
xyY 0.157, 0.08, 1.327
CIE-LCH 11.46, 60.004, 302.968
CIE-LUV 11.46, -3.715, -40.412
Hunter-Lab 11.518, 20.428, -57.251
Binary 00000100, 00001111, 01100110

Color Schemes with #040f66

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

Alternatives to #040f66

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

Similar Colors

#040f66 Preview

Text with hexadecimal color #040f66

This text has a font color of #040f66.

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

This paragraph has a background color of #040f66.

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

This element has a border color of #040f66.

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

Shades and Tints of #040f66

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

Shade Color Variation
Tint Color Variation

Tones of #040f66

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

Tone Color Variation

Color Blindness Simulator

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

  • #161616 Achromatopsia 0.005% of the population
  • #121526 Atypical Achromatopsia 0.001% of the population
  • #00284f Protanopia 1% of men
  • #002b44 Deuteranopia 1% of men
  • #002e30 Tritanopia 0.001% of the population
  • #011f57 Protanomaly 1% of men, 0.01% of women
  • #012150 Deuteranomaly 6% of men, 0.4% of women
  • #012243 Tritanomaly 0.01% of the population