#040ecc Color Information

In a RGB color space, hex #040ecc is composed of 1.6% red, 5.5% green and 80% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 93.1% magenta, 0% yellow and 20% black. It has a hue angle of 237 degrees, a saturation of 96.2% and a lightness of 40.8%. #040ecc color hex could be obtained by blending #081cff with #000099. Closest websafe color is: #0000cc.

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

#040ecc color description : Strong blue.

#040ecc Color Conversion

The hexadecimal color #040ecc has RGB values of R:4, G:14, B:204 and CMYK values of C:0.98, M:0.93, Y:0, K:0.2. Its decimal value is 265932.

Hex triplet 040ecc #040ecc
RGB Decimal 4, 14, 204 rgb(4,14,204)
RGB Percent 1.6, 5.5, 80 rgb(1.6%,5.5%,80%)
CMYK 98, 93, 0, 20
HSL 237°, 96.2, 40.8 hsl(237,96.2%,40.8%)
HSV (or HSB) 237°, 98, 80
Web Safe 0000cc #0000cc
CIE-LAB 25.858, 64.004, -89.438
XYZ 11.104, 4.699, 57.445
xyY 0.152, 0.064, 4.699
CIE-LCH 25.858, 109.98, 305.588
CIE-LUV 25.858, -7.704, -101.451
Hunter-Lab 21.676, 53.506, -141.953
Binary 00000100, 00001110, 11001100

Color Schemes with #040ecc

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

Alternatives to #040ecc

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

Similar Colors

#040ecc Preview

Text with hexadecimal color #040ecc

This text has a font color of #040ecc.

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

This paragraph has a background color of #040ecc.

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

This element has a border color of #040ecc.

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

Shades and Tints of #040ecc

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, #00010c is the darkest color, while #f7f8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040ecc

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040ecc 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
  • #212121 Achromatopsia 0.005% of the population
  • #1b1d43 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004586 Protanopia 1% of men
  • #004973 Deuteranopia 1% of men
  • #004e51 Tritanopia 0.001% of the population
Trichromacy
  • #01319f Protanomaly 1% of men, 0.01% of women
  • #013393 Deuteranomaly 6% of men, 0.4% of women
  • #01377e Tritanomaly 0.01% of the population