#0040d5 Color Information

In a RGB color space, hex #0040d5 is composed of 0% red, 25.1% green and 83.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 70% magenta, 0% yellow and 16.5% black. It has a hue angle of 222 degrees, a saturation of 100% and a lightness of 41.8%. #0040d5 color hex could be obtained by blending #0080ff with #0000ab. Closest websafe color is: #0033cc.

    • R 0
    • G 25
    • B 84
    RGB color chart
    • C 100
    • M 70
    • Y 0
    • K 16
    CMYK color chart

#0040d5 color description : Strong blue.

#0040d5 Color Conversion

The hexadecimal color #0040d5 has RGB values of R:0, G:64, B:213 and CMYK values of C:1, M:0.7, Y:0, K:0.16. Its decimal value is 16597.

Hex triplet 0040d5 #0040d5
RGB Decimal 0, 64, 213 rgb(0,64,213)
RGB Percent 0, 25.1, 83.5 rgb(0%,25.1%,83.5%)
CMYK 100, 70, 0, 16
HSL 222°, 100, 41.8 hsl(222,100%,41.8%)
HSV (or HSB) 222°, 100, 83.5
Web Safe 0033cc #0033cc
CIE-LAB 34.943, 43.476, -79.573
XYZ 13.841, 8.47, 63.852
xyY 0.161, 0.098, 8.47
CIE-LCH 34.943, 90.675, 298.65
CIE-LUV 34.943, -14.219, -108.586
Hunter-Lab 29.103, 33.964, -109.712
Binary 00000000, 01000000, 11010101

Color Schemes with #0040d5

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

Alternatives to #0040d5

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

Similar Colors

#0040d5 Preview

Text with hexadecimal color #0040d5

This text has a font color of #0040d5.

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

This paragraph has a background color of #0040d5.

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

This element has a border color of #0040d5.

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

Shades and Tints of #0040d5

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

Shade Color Variation
Tint Color Variation

Tones of #0040d5

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

Tone Color Variation

Color Blindness Simulator

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

  • #3e3e3e Achromatopsia 0.005% of the population
  • #323e5c Atypical Achromatopsia 0.001% of the population
  • #0058ac Protanopia 1% of men
  • #005d95 Deuteranopia 1% of men
  • #006468 Tritanopia 0.001% of the population
  • #004fbb Protanomaly 1% of men, 0.01% of women
  • #0052ac Deuteranomaly 6% of men, 0.4% of women
  • #005790 Tritanomaly 0.01% of the population