#040f6b Color Information

In a RGB color space, hex #040f6b is composed of 1.6% red, 5.9% green and 42% blue. Whereas in a CMYK color space, it is composed of 96.3% cyan, 86% magenta, 0% yellow and 58% black. It has a hue angle of 233.6 degrees, a saturation of 92.8% and a lightness of 21.8%. #040f6b color hex could be obtained by blending #081ed6 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 6
    • B 42
    RGB color chart
    • C 96
    • M 86
    • Y 0
    • K 58
    CMYK color chart

#040f6b color description : Very dark blue.

#040f6b Color Conversion

The hexadecimal color #040f6b has RGB values of R:4, G:15, B:107 and CMYK values of C:0.96, M:0.86, Y:0, K:0.58. Its decimal value is 266091.

Hex triplet 040f6b #040f6b
RGB Decimal 4, 15, 107 rgb(4,15,107)
RGB Percent 1.6, 5.9, 42 rgb(1.6%,5.9%,42%)
CMYK 96, 86, 0, 58
HSL 233.6°, 92.8, 21.8 hsl(233.6,92.8%,21.8%)
HSV (or HSB) 233.6°, 96.3, 42
Web Safe 000066 #000066
CIE-LAB 12.148, 34.447, -52.495
XYZ 2.874, 1.429, 14.033
xyY 0.157, 0.078, 1.429
CIE-LCH 12.148, 62.788, 303.273
CIE-LUV 12.148, -3.902, -43.38
Hunter-Lab 11.953, 22.003, -61.241
Binary 00000100, 00001111, 01101011

Color Schemes with #040f6b

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

Alternatives to #040f6b

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

Similar Colors

#040f6b Preview

Text with hexadecimal color #040f6b

This text has a font color of #040f6b.

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

This paragraph has a background color of #040f6b.

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

This element has a border color of #040f6b.

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

Shades and Tints of #040f6b

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, #00020c is the darkest color, while #f9f9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040f6b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f6b 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
  • #121527 Atypical Achromatopsia 0.001% of the population
  • #002a51 Protanopia 1% of men
  • #002c46 Deuteranopia 1% of men
  • #002f31 Tritanopia 0.001% of the population
  • #01205b Protanomaly 1% of men, 0.01% of women
  • #012153 Deuteranomaly 6% of men, 0.4% of women
  • #012346 Tritanomaly 0.01% of the population