#4040ff Color Information

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

#4040ff color image
R
25
G
25
B
100
C
75
M
75
Y
0
K
0

#4040ff Color Conversion

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

Hex triplet 4040ff #4040ff
RGB Decimal 64, 64, 255 rgb(64,64,255)
RGB Percent 25.1, 25.1, 100 rgb(25.1%,25.1%,100%)
CMYK 74.9, 74.9, 0, 0
HSL 240°, 100, 62.5 hsl(240,100%,62.5%)
HSV(HSB) 240°, 74.9, 100
Web Safe 3333ff #33f
XYZ 21.998, 11.977, 95.76
xyY 0.17, 0.092, 11.977
CIE-LAB 41.179, 60.523, -93.034
CIE-LCH 41.179, 110.988, 303.046
CIE-LUV 41.179, -9.568, -132.694
Hunter-Lab 34.607, 52.898, -139.832
Binary 01000000, 01000000, 11111111

#4040ff Color Analysis

Blending
R-G-B component
Websafe/Invert

Color Schemes with #4040ff

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color

Alternatives to #4040ff

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

#4040ff Preview

Text with hexadecimal color #4040ff

This text has a font color of #4040ff.

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

This paragraph has a background color of #4040ff.

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

This element has a border color of #4040ff.

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

Shades and Tints of #4040ff

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 #eaeaff is the lightest one.

Tones of #4040ff

A tone is produced by adding gray to any pure hue. In this case, #9f9fa0 is the less saturated color, while #4848f7 is the most saturated one.