Color encyclopedia

#4040bf Color Information

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


#4040bf Color Conversion

The hexadecimal color #4040bf has RGB values of R:64, G:64, B:191 and CMYK values of C:0.66, M:0.66, Y:0, K:0.25. Its decimal value is 4210879.

Hex triplet 4040bf #4040bf
RGB Decimal 64, 64, 191 rgb(64,64,191)
RGB Percent 25.1, 25.1, 74.9 rgb(25.1%,25.1%,74.9%)
CMYK 66.5, 66.5, 0, 25.1
HSL 240°, 49.8, 50 hsl(240,49.8%,50%)
HSV(HSB) 240°, 66.5, 74.9
Web Safe 3333cc #33c
XYZ 13.352, 8.518, 50.231
xyY 0.185, 0.118, 8.518
CIE-LAB 35.04, 39.918, -66.537
CIE-LCH 35.04, 77.593, 300.961
CIE-LUV 35.04, -6.754, -93.664
Hunter-Lab 29.186, 30.582, -81.61
Binary 01000000, 01000000, 10111111

#4040bf Color Analysis

R-G-B component

Color Schemes with #4040bf

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color

Alternatives to #4040bf

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

#4040bf Preview

Text with hexadecimal color #4040bf

This text has a font color of #4040bf.

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

This paragraph has a background color of #4040bf.

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

This element has a border color of #4040bf.

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

Shades and Tints of #4040bf

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

Tones of #4040bf

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