#0040b4 Color Information

In a RGB color space, hex #0040b4 is composed of 0% red, 25.1% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 64.4% magenta, 0% yellow and 29.4% black. It has a hue angle of 218.7 degrees, a saturation of 100% and a lightness of 35.3%. #0040b4 color hex could be obtained by blending #0080ff with #000069. Closest websafe color is: #0033cc.

    • R 0
    • G 25
    • B 71
    RGB color chart
    • C 100
    • M 64
    • Y 0
    • K 29
    CMYK color chart

#0040b4 color description : Strong blue.

#0040b4 Color Conversion

The hexadecimal color #0040b4 has RGB values of R:0, G:64, B:180 and CMYK values of C:1, M:0.64, Y:0, K:0.29. Its decimal value is 16564.

Hex triplet 0040b4 #0040b4
RGB Decimal 0, 64, 180 rgb(0,64,180)
RGB Percent 0, 25.1, 70.6 rgb(0%,25.1%,70.6%)
CMYK 100, 64, 0, 29
HSL 218.7°, 100, 35.3 hsl(218.7,100%,35.3%)
HSV (or HSB) 218.7°, 100, 70.6
Web Safe 0033cc #0033cc
CIE-LAB 31.718, 30.908, -65.58
XYZ 10.07, 6.961, 43.99
xyY 0.165, 0.114, 6.961
CIE-LCH 31.718, 72.498, 295.235
CIE-LUV 31.718, -14.187, -88.295
Hunter-Lab 26.384, 21.955, -80.386
Binary 00000000, 01000000, 10110100

Color Schemes with #0040b4

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

Alternatives to #0040b4

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

Similar Colors

#0040b4 Preview

Text with hexadecimal color #0040b4

This text has a font color of #0040b4.

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

This paragraph has a background color of #0040b4.

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

This element has a border color of #0040b4.

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

Shades and Tints of #0040b4

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

Shade Color Variation
Tint Color Variation

Tones of #0040b4

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

Tone Color Variation

Color Blindness Simulator

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

  • #3a3a3a Achromatopsia 0.005% of the population
  • #2e3b52 Atypical Achromatopsia 0.001% of the population
  • #00519f Protanopia 1% of men
  • #00568a Deuteranopia 1% of men
  • #005c60 Tritanopia 0.001% of the population
  • #004ba6 Protanomaly 1% of men, 0.01% of women
  • #004e99 Deuteranomaly 6% of men, 0.4% of women
  • #00527f Tritanomaly 0.01% of the population