#040f3b Color Information

In a RGB color space, hex #040f3b is composed of 1.6% red, 5.9% green and 23.1% blue. Whereas in a CMYK color space, it is composed of 93.2% cyan, 74.6% magenta, 0% yellow and 76.9% black. It has a hue angle of 228 degrees, a saturation of 87.3% and a lightness of 12.4%. #040f3b color hex could be obtained by blending #081e76 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 6
    • B 23
    RGB color chart
    • C 93
    • M 75
    • Y 0
    • K 77
    CMYK color chart

#040f3b color description : Very dark blue.

#040f3b Color Conversion

The hexadecimal color #040f3b has RGB values of R:4, G:15, B:59 and CMYK values of C:0.93, M:0.75, Y:0, K:0.77. Its decimal value is 266043.

Hex triplet 040f3b #040f3b
RGB Decimal 4, 15, 59 rgb(4,15,59)
RGB Percent 1.6, 5.9, 23.1 rgb(1.6%,5.9%,23.1%)
CMYK 93, 75, 0, 77
HSL 228°, 87.3, 12.4 hsl(228,87.3%,12.4%)
HSV (or HSB) 228°, 93.2, 23.1
Web Safe 000033 #000033
CIE-LAB 6.171, 14.367, -29.436
XYZ 1.01, 0.683, 4.216
xyY 0.171, 0.116, 0.683
CIE-LCH 6.171, 32.755, 296.015
CIE-LUV 6.171, -2.312, -16.938
Hunter-Lab 8.265, 7.351, -24.458
Binary 00000100, 00001111, 00111011

Color Schemes with #040f3b

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

Alternatives to #040f3b

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

Similar Colors

#040f3b Preview

Text with hexadecimal color #040f3b

This text has a font color of #040f3b.

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

This paragraph has a background color of #040f3b.

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

This element has a border color of #040f3b.

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

Shades and Tints of #040f3b

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

Shade Color Variation
Tint Color Variation

Tones of #040f3b

A tone is produced by adding gray to any pure hue. In this case, #1f1f20 is the less saturated color, while #020e3d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f3b 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
  • #111111 Achromatopsia 0.005% of the population
  • #0e1119 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001e3c Protanopia 1% of men
  • #002034 Deuteranopia 1% of men
  • #002324 Tritanopia 0.001% of the population
Trichromacy
  • #01193b Protanomaly 1% of men, 0.01% of women
  • #011a36 Deuteranomaly 6% of men, 0.4% of women
  • #011b2c Tritanomaly 0.01% of the population