#0040e2 Color Information

In a RGB color space, hex #0040e2 is composed of 0% red, 25.1% green and 88.6% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 71.7% magenta, 0% yellow and 11.4% black. It has a hue angle of 223 degrees, a saturation of 100% and a lightness of 44.3%. #0040e2 color hex could be obtained by blending #0080ff with #0000c5. Closest websafe color is: #0033cc.

    • R 0
    • G 25
    • B 89
    RGB color chart
    • C 100
    • M 72
    • Y 0
    • K 11
    CMYK color chart

#0040e2 color description : Pure (or mostly pure) blue.

#0040e2 Color Conversion

The hexadecimal color #0040e2 has RGB values of R:0, G:64, B:226 and CMYK values of C:1, M:0.72, Y:0, K:0.11. Its decimal value is 16610.

Hex triplet 0040e2 #0040e2
RGB Decimal 0, 64, 226 rgb(0,64,226)
RGB Percent 0, 25.1, 88.6 rgb(0%,25.1%,88.6%)
CMYK 100, 72, 0, 11
HSL 223°, 100, 44.3 hsl(223,100%,44.3%)
HSV (or HSB) 223°, 100, 88.6
Web Safe 0033cc #0033cc
CIE-LAB 36.284, 48.15, -84.817
XYZ 15.558, 9.156, 72.895
xyY 0.159, 0.094, 9.156
CIE-LCH 36.284, 97.531, 299.583
CIE-LUV 36.284, -14.323, -116.302
Hunter-Lab 30.26, 38.821, -121.646
Binary 00000000, 01000000, 11100010

Color Schemes with #0040e2

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

Alternatives to #0040e2

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

Similar Colors

#0040e2 Preview

Text with hexadecimal color #0040e2

This text has a font color of #0040e2.

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

This paragraph has a background color of #0040e2.

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

This element has a border color of #0040e2.

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

Shades and Tints of #0040e2

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

Shade Color Variation
Tint Color Variation

Tones of #0040e2

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

Tone Color Variation

Color Blindness Simulator

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

  • #3f3f3f Achromatopsia 0.005% of the population
  • #323f60 Atypical Achromatopsia 0.001% of the population
  • #005bb1 Protanopia 1% of men
  • #006099 Deuteranopia 1% of men
  • #00676c Tritanopia 0.001% of the population
  • #0051c3 Protanomaly 1% of men, 0.01% of women
  • #0054b4 Deuteranomaly 6% of men, 0.4% of women
  • #005997 Tritanomaly 0.01% of the population