#040ec4 Color Information

In a RGB color space, hex #040ec4 is composed of 1.6% red, 5.5% green and 76.9% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 92.9% magenta, 0% yellow and 23.1% black. It has a hue angle of 236.9 degrees, a saturation of 96% and a lightness of 39.2%. #040ec4 color hex could be obtained by blending #081cff with #000089. Closest websafe color is: #0000cc.

    • R 2
    • G 5
    • B 77
    RGB color chart
    • C 98
    • M 93
    • Y 0
    • K 23
    CMYK color chart

#040ec4 color description : Strong blue.

#040ec4 Color Conversion

The hexadecimal color #040ec4 has RGB values of R:4, G:14, B:196 and CMYK values of C:0.98, M:0.93, Y:0, K:0.23. Its decimal value is 265924.

Hex triplet 040ec4 #040ec4
RGB Decimal 4, 14, 196 rgb(4,14,196)
RGB Percent 1.6, 5.5, 76.9 rgb(1.6%,5.5%,76.9%)
CMYK 98, 93, 0, 23
HSL 236.9°, 96, 39.2 hsl(236.9,96%,39.2%)
HSV (or HSB) 236.9°, 98, 76.9
Web Safe 0000cc #0000cc
CIE-LAB 24.717, 61.861, -86.649
XYZ 10.169, 4.325, 52.52
xyY 0.152, 0.065, 4.325
CIE-LCH 24.717, 106.465, 305.524
CIE-LUV 24.717, -7.379, -96.718
Hunter-Lab 20.796, 50.893, -135.182
Binary 00000100, 00001110, 11000100

Color Schemes with #040ec4

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

Alternatives to #040ec4

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

Similar Colors

#040ec4 Preview

Text with hexadecimal color #040ec4

This text has a font color of #040ec4.

<span style="color:#040ec4;">Text here</span>
#040ec4 background color

This paragraph has a background color of #040ec4.

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

This element has a border color of #040ec4.

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

Shades and Tints of #040ec4

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

Shade Color Variation
Tint Color Variation

Tones of #040ec4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040ec4 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
  • #202020 Achromatopsia 0.005% of the population
  • #1a1c41 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004381 Protanopia 1% of men
  • #00476f Deuteranopia 1% of men
  • #004b4e Tritanopia 0.001% of the population
Trichromacy
  • #012f99 Protanomaly 1% of men, 0.01% of women
  • #01328e Deuteranomaly 6% of men, 0.4% of women
  • #013579 Tritanomaly 0.01% of the population