#0040ac Color Information

In a RGB color space, hex #0040ac is composed of 0% red, 25.1% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 62.8% magenta, 0% yellow and 32.5% black. It has a hue angle of 217.7 degrees, a saturation of 100% and a lightness of 33.7%. #0040ac color hex could be obtained by blending #0080ff with #000059. Closest websafe color is: #003399.

    • R 0
    • G 25
    • B 67
    RGB color chart
    • C 100
    • M 63
    • Y 0
    • K 33
    CMYK color chart

#0040ac color description : Dark blue.

#0040ac Color Conversion

The hexadecimal color #0040ac has RGB values of R:0, G:64, B:172 and CMYK values of C:1, M:0.63, Y:0, K:0.33. Its decimal value is 16556.

Hex triplet 0040ac #0040ac
RGB Decimal 0, 64, 172 rgb(0,64,172)
RGB Percent 0, 25.1, 67.5 rgb(0%,25.1%,67.5%)
CMYK 100, 63, 0, 33
HSL 217.7°, 100, 33.7 hsl(217.7,100%,33.7%)
HSV (or HSB) 217.7°, 100, 67.5
Web Safe 003399 #003399
CIE-LAB 30.984, 27.706, -62.019
XYZ 9.278, 6.645, 39.821
xyY 0.166, 0.119, 6.645
CIE-LCH 30.984, 67.926, 294.071
CIE-LUV 30.984, -14.241, -83.184
Hunter-Lab 25.777, 19.14, -73.549
Binary 00000000, 01000000, 10101100

Color Schemes with #0040ac

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

Alternatives to #0040ac

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

Similar Colors

#0040ac Preview

Text with hexadecimal color #0040ac

This text has a font color of #0040ac.

<span style="color:#0040ac;">Text here</span>
#0040ac background color

This paragraph has a background color of #0040ac.

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

This element has a border color of #0040ac.

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

Shades and Tints of #0040ac

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, #00060f is the darkest color, while #fafcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0040ac

A tone is produced by adding gray to any pure hue. In this case, #4f545d is the less saturated color, while #0040ac is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #393939 Achromatopsia 0.005% of the population
  • #2e3a50 Atypical Achromatopsia 0.001% of the population
  • #004f9c Protanopia 1% of men
  • #005487 Deuteranopia 1% of men
  • #005a5f Tritanopia 0.001% of the population
  • #004aa1 Protanomaly 1% of men, 0.01% of women
  • #004d94 Deuteranomaly 6% of men, 0.4% of women
  • #00507b Tritanomaly 0.01% of the population