#0040a7 Color Information

In a RGB color space, hex #0040a7 is composed of 0% red, 25.1% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 61.7% magenta, 0% yellow and 34.5% black. It has a hue angle of 217 degrees, a saturation of 100% and a lightness of 32.7%. #0040a7 color hex could be obtained by blending #0080ff with #00004f. Closest websafe color is: #003399.

    • R 0
    • G 25
    • B 65
    RGB color chart
    • C 100
    • M 62
    • Y 0
    • K 35
    CMYK color chart

#0040a7 color description : Dark blue.

#0040a7 Color Conversion

The hexadecimal color #0040a7 has RGB values of R:0, G:64, B:167 and CMYK values of C:1, M:0.62, Y:0, K:0.35. Its decimal value is 16551.

Hex triplet 0040a7 #0040a7
RGB Decimal 0, 64, 167 rgb(0,64,167)
RGB Percent 0, 25.1, 65.5 rgb(0%,25.1%,65.5%)
CMYK 100, 62, 0, 35
HSL 217°, 100, 32.7 hsl(217,100%,32.7%)
HSV (or HSB) 217°, 100, 65.5
Web Safe 003399 #003399
CIE-LAB 30.535, 25.673, -59.757
XYZ 8.807, 6.456, 37.339
xyY 0.167, 0.123, 6.456
CIE-LCH 30.535, 65.039, 293.25
CIE-LUV 30.535, -14.289, -79.944
Hunter-Lab 25.409, 17.405, -69.343
Binary 00000000, 01000000, 10100111

Color Schemes with #0040a7

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

Alternatives to #0040a7

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

Similar Colors

#0040a7 Preview

Text with hexadecimal color #0040a7

This text has a font color of #0040a7.

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

This paragraph has a background color of #0040a7.

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

This element has a border color of #0040a7.

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

Shades and Tints of #0040a7

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, #00040a is the darkest color, while #f5f9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0040a7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0040a7 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
  • #2e3a4f Atypical Achromatopsia 0.001% of the population
  • #004e9a Protanopia 1% of men
  • #005386 Deuteranopia 1% of men
  • #00595d Tritanopia 0.001% of the population
  • #00499e Protanomaly 1% of men, 0.01% of women
  • #004c92 Deuteranomaly 6% of men, 0.4% of women
  • #005078 Tritanomaly 0.01% of the population