#0040ec Color Information

In a RGB color space, hex #0040ec is composed of 0% red, 25.1% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 72.9% magenta, 0% yellow and 7.5% black. It has a hue angle of 223.7 degrees, a saturation of 100% and a lightness of 46.3%. #0040ec color hex could be obtained by blending #0080ff with #0000d9. Closest websafe color is: #0033ff.

    • R 0
    • G 25
    • B 93
    RGB color chart
    • C 100
    • M 73
    • Y 0
    • K 7
    CMYK color chart

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

#0040ec Color Conversion

The hexadecimal color #0040ec has RGB values of R:0, G:64, B:236 and CMYK values of C:1, M:0.73, Y:0, K:0.07. Its decimal value is 16620.

Hex triplet 0040ec #0040ec
RGB Decimal 0, 64, 236 rgb(0,64,236)
RGB Percent 0, 25.1, 92.5 rgb(0%,25.1%,92.5%)
CMYK 100, 73, 0, 7
HSL 223.7°, 100, 46.3 hsl(223.7,100%,46.3%)
HSV (or HSB) 223.7°, 100, 92.5
Web Safe 0033ff #0033ff
CIE-LAB 37.338, 51.646, -88.76
XYZ 16.971, 9.721, 80.334
xyY 0.159, 0.091, 9.721
CIE-LCH 37.338, 102.692, 300.193
CIE-LUV 37.338, -14.43, -122.153
Hunter-Lab 31.179, 42.592, -130.937
Binary 00000000, 01000000, 11101100

Color Schemes with #0040ec

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

Alternatives to #0040ec

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

Similar Colors

#0040ec Preview

Text with hexadecimal color #0040ec

This text has a font color of #0040ec.

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

This paragraph has a background color of #0040ec.

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

This element has a border color of #0040ec.

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

Shades and Tints of #0040ec

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

Shade Color Variation
Tint Color Variation

Tones of #0040ec

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

Tone Color Variation

Color Blindness Simulator

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

  • #404040 Achromatopsia 0.005% of the population
  • #334062 Atypical Achromatopsia 0.001% of the population
  • #005db6 Protanopia 1% of men
  • #00639d Deuteranopia 1% of men
  • #006a6e Tritanopia 0.001% of the population
  • #0052c9 Protanomaly 1% of men, 0.01% of women
  • #0056ba Deuteranomaly 6% of men, 0.4% of women
  • #005a9c Tritanomaly 0.01% of the population