#040fac Color Information

In a RGB color space, hex #040fac is composed of 1.6% red, 5.9% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 91.3% magenta, 0% yellow and 32.5% black. It has a hue angle of 236.1 degrees, a saturation of 95.5% and a lightness of 34.5%. #040fac color hex could be obtained by blending #081eff with #000059. 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

#040fac color description : Dark blue.

#040fac Color Conversion

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

Hex triplet 040fac #040fac
RGB Decimal 4, 15, 172 rgb(4,15,172)
RGB Percent 1.6, 5.9, 67.5 rgb(1.6%,5.9%,67.5%)
CMYK 98, 91, 0, 33
HSL 236.1°, 95.5, 34.5 hsl(236.1,95.5%,34.5%)
HSV (or HSB) 236.1°, 97.7, 67.5
Web Safe 000099 #000099
CIE-LAB 21.377, 54.919, -77.918
XYZ 7.666, 3.345, 39.269
xyY 0.152, 0.067, 3.345
CIE-LCH 21.377, 95.328, 305.177
CIE-LUV 21.377, -6.468, -82.518
Hunter-Lab 18.29, 42.804, -114.491
Binary 00000100, 00001111, 10101100

Color Schemes with #040fac

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

Alternatives to #040fac

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

Similar Colors

#040fac Preview

Text with hexadecimal color #040fac

This text has a font color of #040fac.

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

This paragraph has a background color of #040fac.

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

This element has a border color of #040fac.

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

Shades and Tints of #040fac

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

Shade Color Variation
Tint Color Variation

Tones of #040fac

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

Tone Color Variation

Color Blindness Simulator

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

  • #1e1e1e Achromatopsia 0.005% of the population
  • #191b3a Atypical Achromatopsia 0.001% of the population
  • #003c74 Protanopia 1% of men
  • #003f64 Deuteranopia 1% of men
  • #004446 Tritanopia 0.001% of the population
  • #012b88 Protanomaly 1% of men, 0.01% of women
  • #012e7e Deuteranomaly 6% of men, 0.4% of women
  • #01306b Tritanomaly 0.01% of the population