Color encyclopedia

#0040ff Color Information

In a RGB color space, #0040ff hex color 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 .

RGB
0%
26%
100%
CMYK
100%
75%
0%
0%

#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, 74.9, 0, 0
HSL 224.9°, 100, 50 hsl(224.9,100%,50%)
HSV(HSB) 224.9°, 100, 100
Web Safe 0033ff #03f
XYZ 19.883, 10.887, 95.661
xyY 0.157, 0.086, 10.887
CIE-LAB 39.389, 58.07, -96.054
CIE-LCH 39.389, 112.243, 301.155
CIE-LUV 39.389, -14.686, -133.105
Hunter-Lab 32.995, 49.825, -148.8
Binary 00000000, 01000000, 11111111

#0040ff Color Analysis

Blending
R-G-B component

Color Schemes with #0040ff

Complementary Color
Analogous Color
Split Complementary Color
Triadic 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.

#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 #0040ff;">Content here</div>
CSS codes
.text {color:#0040ff;}
.background {background-color:#0040ff;}
.border {border:1px solid #0040ff;}
.text-shadow {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, #000000 is the darkest color, while #eaefff is the lightest one.

Tones of #0040ff

A tone is produced by adding gray to any pure hue. In this case, #7f7f80 is the less saturated color, while #0b45f4 is the most saturated one.