#040f84 Color Information

In a RGB color space, hex #040f84 is composed of 1.6% red, 5.9% green and 51.8% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 88.6% magenta, 0% yellow and 48.2% black. It has a hue angle of 234.8 degrees, a saturation of 94.1% and a lightness of 26.7%. #040f84 color hex could be obtained by blending #081eff with #000009. Closest websafe color is: #000099.

    • R 2
    • G 6
    • B 52
    RGB color chart
    • C 97
    • M 89
    • Y 0
    • K 48
    CMYK color chart

#040f84 color description : Dark blue.

#040f84 Color Conversion

The hexadecimal color #040f84 has RGB values of R:4, G:15, B:132 and CMYK values of C:0.97, M:0.89, Y:0, K:0.48. Its decimal value is 266116.

Hex triplet 040f84 #040f84
RGB Decimal 4, 15, 132 rgb(4,15,132)
RGB Percent 1.6, 5.9, 51.8 rgb(1.6%,5.9%,51.8%)
CMYK 97, 89, 0, 48
HSL 234.8°, 94.1, 26.7 hsl(234.8,94.1%,26.7%)
HSV (or HSB) 234.8°, 97, 51.8
Web Safe 000099 #000099
CIE-LAB 15.66, 42.862, -62.755
XYZ 4.385, 2.033, 21.99
xyY 0.154, 0.072, 2.033
CIE-LCH 15.66, 75.996, 304.333
CIE-LUV 15.66, -4.87, -58.407
Hunter-Lab 14.259, 29.942, -81.457
Binary 00000100, 00001111, 10000100

Color Schemes with #040f84

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

Alternatives to #040f84

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

Similar Colors

#040f84 Preview

Text with hexadecimal color #040f84

This text has a font color of #040f84.

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

This paragraph has a background color of #040f84.

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

This element has a border color of #040f84.

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

Shades and Tints of #040f84

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

Shade Color Variation
Tint Color Variation

Tones of #040f84

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

Tone Color Variation

Color Blindness Simulator

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

  • #191919 Achromatopsia 0.005% of the population
  • #15172e Atypical Achromatopsia 0.001% of the population
  • #00305e Protanopia 1% of men
  • #003351 Deuteranopia 1% of men
  • #003739 Tritanopia 0.001% of the population
  • #01246c Protanomaly 1% of men, 0.01% of women
  • #012664 Deuteranomaly 6% of men, 0.4% of women
  • #012854 Tritanomaly 0.01% of the population