#0040a8 Color Information

In a RGB color space, hex #0040a8 is composed of 0% red, 25.1% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 61.9% magenta, 0% yellow and 34.1% black. It has a hue angle of 217.1 degrees, a saturation of 100% and a lightness of 32.9%. #0040a8 color hex could be obtained by blending #0080ff with #000051. Closest websafe color is: #003399.

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

#0040a8 color description : Dark blue.

#0040a8 Color Conversion

The hexadecimal color #0040a8 has RGB values of R:0, G:64, B:168 and CMYK values of C:1, M:0.62, Y:0, K:0.34. Its decimal value is 16552.

Hex triplet 0040a8 #0040a8
RGB Decimal 0, 64, 168 rgb(0,64,168)
RGB Percent 0, 25.1, 65.9 rgb(0%,25.1%,65.9%)
CMYK 100, 62, 0, 34
HSL 217.1°, 100, 32.9 hsl(217.1,100%,32.9%)
HSV (or HSB) 217.1°, 100, 65.9
Web Safe 003399 #003399
CIE-LAB 30.624, 26.082, -60.212
XYZ 8.9, 6.493, 37.828
xyY 0.167, 0.122, 6.493
CIE-LCH 30.624, 65.618, 293.42
CIE-LUV 30.624, -14.278, -80.595
Hunter-Lab 25.482, 17.75, -70.18
Binary 00000000, 01000000, 10101000

Color Schemes with #0040a8

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

Alternatives to #0040a8

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

Similar Colors

#0040a8 Preview

Text with hexadecimal color #0040a8

This text has a font color of #0040a8.

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

This paragraph has a background color of #0040a8.

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

This element has a border color of #0040a8.

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

Shades and Tints of #0040a8

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

Shade Color Variation
Tint Color Variation

Tones of #0040a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0040a8 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
  • #004f9a Protanopia 1% of men
  • #005386 Deuteranopia 1% of men
  • #00595e Tritanopia 0.001% of the population
  • #00499f Protanomaly 1% of men, 0.01% of women
  • #004c92 Deuteranomaly 6% of men, 0.4% of women
  • #005079 Tritanomaly 0.01% of the population