#0040cc Color Information

In a RGB color space, hex #0040cc is composed of 0% red, 25.1% green and 80% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 68.6% magenta, 0% yellow and 20% black. It has a hue angle of 221.2 degrees, a saturation of 100% and a lightness of 40%. #0040cc color hex could be obtained by blending #0080ff with #000099. Closest websafe color is: #0033cc.

    • R 0
    • G 25
    • B 80
    RGB color chart
    • C 100
    • M 69
    • Y 0
    • K 20
    CMYK color chart

#0040cc color description : Strong blue.

#0040cc Color Conversion

The hexadecimal color #0040cc has RGB values of R:0, G:64, B:204 and CMYK values of C:1, M:0.69, Y:0, K:0.2. Its decimal value is 16588.

Hex triplet 0040cc #0040cc
RGB Decimal 0, 64, 204 rgb(0,64,204)
RGB Percent 0, 25.1, 80 rgb(0%,25.1%,80%)
CMYK 100, 69, 0, 20
HSL 221.2°, 100, 40 hsl(221.2,100%,40%)
HSV (or HSB) 221.2°, 100, 80
Web Safe 0033cc #0033cc
CIE-LAB 34.036, 40.15, -75.859
XYZ 12.73, 8.025, 58.002
xyY 0.162, 0.102, 8.025
CIE-LCH 34.036, 85.829, 297.891
CIE-LUV 34.036, -14.175, -103.162
Hunter-Lab 28.329, 30.637, -101.561
Binary 00000000, 01000000, 11001100

Color Schemes with #0040cc

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

Alternatives to #0040cc

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

Similar Colors

#0040cc Preview

Text with hexadecimal color #0040cc

This text has a font color of #0040cc.

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

This paragraph has a background color of #0040cc.

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

This element has a border color of #0040cc.

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

Shades and Tints of #0040cc

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

Shade Color Variation
Tint Color Variation

Tones of #0040cc

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

Tone Color Variation

Color Blindness Simulator

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

  • #3d3d3d Achromatopsia 0.005% of the population
  • #313e5a Atypical Achromatopsia 0.001% of the population
  • #0056a8 Protanopia 1% of men
  • #005b92 Deuteranopia 1% of men
  • #006266 Tritanopia 0.001% of the population
  • #004eb5 Protanomaly 1% of men, 0.01% of women
  • #0051a7 Deuteranomaly 6% of men, 0.4% of women
  • #00558b Tritanomaly 0.01% of the population