colorhexa.com

#040f4a hex color

In a RGB color space, hex #040f4a is composed of 1.6% red, 5.9% green and 29% blue. Whereas in a CMYK color space, it is composed of 94.6% cyan, 79.7% magenta, 0% yellow and 71% black. It has a hue angle of 230.6 degrees, a saturation of 89.7% and a lightness of 15.3%. #040f4a color hex could be obtained by blending #081e94 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 6
    • B 29

    RGB color chart

    • C 95
    • M 80
    • Y 0
    • K 71

    CMYK color chart

#040f4a color description : Very dark blue.

The hexadecimal color #040f4a has RGB values of R:4, G:15, B:74 and CMYK values of C:0.95, M:0.8, Y:0, K:0.71. Its decimal value is 266058.

Hex triplet 040f4a #040f4a
RGB Decimal 4, 15, 74 rgb(4,15,74)
RGB Percent 1.6, 5.9, 29 rgb(1.6%,5.9%,29%)
CMYK 95, 80, 0, 71
HSL 230.6°, 89.7, 15.3 hsl(230.6,89.7%,15.3%)
HSV (or HSB) 230.6°, 94.6, 29
Web Safe 000033 #000033
CIE-LAB 7.784, 21.679, -37.429
XYZ 1.457, 0.862, 6.568
xyY 0.164, 0.097, 0.862
CIE-LCH 7.784, 43.254, 300.08
CIE-LUV 7.784, -2.722, -24.368
Hunter-Lab 9.283, 11.764, -35.449
Binary 00000100, 00001111, 01001010

Complementary Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #040f4a

This text has a font color of #040f4a.

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

#040f4a background color

This paragraph has a background color of #040f4a.

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

#040f4a border color

This element has a border color of #040f4a.

<div style="border:1px solid #040f4a;">Content here</div>

CSS codes

.text {color:#040f4a;}
.background {background-color:#040f4a;}
.border {border:1px solid #040f4a;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

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

  • #121212 Achromatopsia 0.005% of the population
  • #0f111d Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #002242 Protanopia 1% of men
  • #002439 Deuteranopia 1% of men
  • #002628 Tritanopia 0.001% of the population

Trichromacy

  • #011b45 Protanomaly 1% of men, 0.01% of women
  • #011c3f Deuteranomaly 6% of men, 0.4% of women
  • #011e34 Tritanomaly 0.01% of the population