#040faa Color Information

In a RGB color space, hex #040faa is composed of 1.6% red, 5.9% green and 66.7% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 91.2% magenta, 0% yellow and 33.3% black. It has a hue angle of 236 degrees, a saturation of 95.4% and a lightness of 34.1%. #040faa color hex could be obtained by blending #081eff with #000055. Closest websafe color is: #000099.

    • R 2
    • G 6
    • B 67
    RGB color chart
    • C 98
    • M 91
    • Y 0
    • K 33
    CMYK color chart

#040faa color description : Dark blue.

#040faa Color Conversion

The hexadecimal color #040faa has RGB values of R:4, G:15, B:170 and CMYK values of C:0.98, M:0.91, Y:0, K:0.33. Its decimal value is 266154.

Hex triplet 040faa #040faa
RGB Decimal 4, 15, 170 rgb(4,15,170)
RGB Percent 1.6, 5.9, 66.7 rgb(1.6%,5.9%,66.7%)
CMYK 98, 91, 0, 33
HSL 236°, 95.4, 34.1 hsl(236,95.4%,34.1%)
HSV (or HSB) 236°, 97.6, 66.7
Web Safe 000099 #000099
CIE-LAB 21.091, 54.346, -77.188
XYZ 7.475, 3.269, 38.265
xyY 0.153, 0.067, 3.269
CIE-LCH 21.091, 94.401, 305.149
CIE-LUV 21.091, -6.388, -81.319
Hunter-Lab 18.081, 42.156, -112.821
Binary 00000100, 00001111, 10101010

Color Schemes with #040faa

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

Alternatives to #040faa

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

Similar Colors

#040faa Preview

Text with hexadecimal color #040faa

This text has a font color of #040faa.

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

This paragraph has a background color of #040faa.

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

This element has a border color of #040faa.

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

Shades and Tints of #040faa

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

Shade Color Variation
Tint Color Variation

Tones of #040faa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040faa 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #181a39 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003f63 Deuteranopia 1% of men
  • #004346 Tritanopia 0.001% of the population
Trichromacy
  • #012b87 Protanomaly 1% of men, 0.01% of women
  • #012d7d Deuteranomaly 6% of men, 0.4% of women
  • #01306a Tritanomaly 0.01% of the population