#040fa4 Color Information

In a RGB color space, hex #040fa4 is composed of 1.6% red, 5.9% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 90.9% magenta, 0% yellow and 35.7% black. It has a hue angle of 235.9 degrees, a saturation of 95.2% and a lightness of 32.9%. #040fa4 color hex could be obtained by blending #081eff with #000049. Closest websafe color is: #000099.

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

#040fa4 color description : Dark blue.

#040fa4 Color Conversion

The hexadecimal color #040fa4 has RGB values of R:4, G:15, B:164 and CMYK values of C:0.98, M:0.91, Y:0, K:0.36. Its decimal value is 266148.

Hex triplet 040fa4 #040fa4
RGB Decimal 4, 15, 164 rgb(4,15,164)
RGB Percent 1.6, 5.9, 64.3 rgb(1.6%,5.9%,64.3%)
CMYK 98, 91, 0, 36
HSL 235.9°, 95.2, 32.9 hsl(235.9,95.2%,32.9%)
HSV (or HSB) 235.9°, 97.6, 64.3
Web Safe 000099 #000099
CIE-LAB 20.232, 52.613, -74.981
XYZ 6.92, 3.047, 35.343
xyY 0.153, 0.067, 3.047
CIE-LCH 20.232, 91.598, 305.057
CIE-LUV 20.232, -6.146, -77.716
Hunter-Lab 17.456, 40.216, -107.823
Binary 00000100, 00001111, 10100100

Color Schemes with #040fa4

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

Alternatives to #040fa4

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

Similar Colors

#040fa4 Preview

Text with hexadecimal color #040fa4

This text has a font color of #040fa4.

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

This paragraph has a background color of #040fa4.

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

This element has a border color of #040fa4.

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

Shades and Tints of #040fa4

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, #00010b is the darkest color, while #f7f7ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040fa4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040fa4 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
  • #181a38 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003970 Protanopia 1% of men
  • #003d60 Deuteranopia 1% of men
  • #004144 Tritanopia 0.001% of the population
Trichromacy
  • #012a83 Protanomaly 1% of men, 0.01% of women
  • #012c79 Deuteranomaly 6% of men, 0.4% of women
  • #012f66 Tritanomaly 0.01% of the population