#0040ab Color Information

In a RGB color space, hex #0040ab is composed of 0% red, 25.1% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 62.6% magenta, 0% yellow and 32.9% black. It has a hue angle of 217.5 degrees, a saturation of 100% and a lightness of 33.5%. #0040ab color hex could be obtained by blending #0080ff with #000057. 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

#0040ab color description : Dark blue.

#0040ab Color Conversion

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

Hex triplet 0040ab #0040ab
RGB Decimal 0, 64, 171 rgb(0,64,171)
RGB Percent 0, 25.1, 67.1 rgb(0%,25.1%,67.1%)
CMYK 100, 63, 0, 33
HSL 217.5°, 100, 33.5 hsl(217.5,100%,33.5%)
HSV (or HSB) 217.5°, 100, 67.1
Web Safe 003399 #003399
CIE-LAB 30.893, 27.301, -61.569
XYZ 9.183, 6.606, 39.317
xyY 0.167, 0.12, 6.606
CIE-LCH 30.893, 67.351, 293.913
CIE-LUV 30.893, -14.25, -82.539
Hunter-Lab 25.703, 18.791, -72.703
Binary 00000000, 01000000, 10101011

Color Schemes with #0040ab

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

Alternatives to #0040ab

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

Similar Colors

#0040ab Preview

Text with hexadecimal color #0040ab

This text has a font color of #0040ab.

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

This paragraph has a background color of #0040ab.

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

This element has a border color of #0040ab.

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

Shades and Tints of #0040ab

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, #00050e is the darkest color, while #f9fcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0040ab

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

Tone Color Variation

Color Blindness Simulator

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

Monochromacy
  • #393939 Achromatopsia 0.005% of the population
  • #2e3a50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9b Protanopia 1% of men
  • #005487 Deuteranopia 1% of men
  • #005a5e Tritanopia 0.001% of the population
Trichromacy
  • #004aa1 Protanomaly 1% of men, 0.01% of women
  • #004c94 Deuteranomaly 6% of men, 0.4% of women
  • #00507a Tritanomaly 0.01% of the population