#0040ff Color Information

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

    • R 0
    • G 25
    • B 100
    RGB color chart
    • C 100
    • M 75
    • Y 0
    • K 0
    CMYK color chart

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

#0040ff Color Conversion

The hexadecimal color #0040ff has RGB values of R:0, G:64, B:255 and CMYK values of C:1, M:0.75, Y:0, K:0. Its decimal value is 16639.

Hex triplet 0040ff #0040ff
RGB Decimal 0, 64, 255 rgb(0,64,255)
RGB Percent 0, 25.1, 100 rgb(0%,25.1%,100%)
CMYK 100, 75, 0, 0
HSL 224.9°, 100, 50 hsl(224.9,100%,50%)
HSV (or HSB) 224.9°, 100, 100
Web Safe 0033ff #0033ff
CIE-LAB 39.386, 58.063, -96.055
XYZ 19.88, 10.885, 95.655
xyY 0.157, 0.086, 10.885
CIE-LCH 39.386, 112.241, 301.152
CIE-LUV 39.386, -14.693, -133.101
Hunter-Lab 32.993, 49.818, -148.805
Binary 00000000, 01000000, 11111111

Color Schemes with #0040ff

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

Alternatives to #0040ff

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

Similar Colors

#0040ff Preview

Text with hexadecimal color #0040ff

This text has a font color of #0040ff.

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

This paragraph has a background color of #0040ff.

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

This element has a border color of #0040ff.

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

Shades and Tints of #0040ff

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

Shade Color Variation
Tint Color Variation

Tones of #0040ff

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

Tone Color Variation

Color Blindness Simulator

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

  • #434343 Achromatopsia 0.005% of the population
  • #364269 Atypical Achromatopsia 0.001% of the population
  • #0062bf Protanopia 1% of men
  • #0068a5 Deuteranopia 1% of men
  • #006f74 Tritanopia 0.001% of the population
  • #0055d6 Protanomaly 1% of men, 0.01% of women
  • #0059c5 Deuteranomaly 6% of men, 0.4% of women
  • #005ea6 Tritanomaly 0.01% of the population