C o l o r F A Q
Color Codes and Color Converter

Hex #4040d4 Color Conversion

Convert color Hex #4040d4 to RGB, CMYK, HSL, HSV, Decimal, CIELab, YUV, etc.

Hex #4040d4 Nearest Colors

#273be2
Palatinate Blue
#5a4fcf
Iris
#4f42b5
Ocean Blue
#2a52be
Cerulean Blue
#6050dc
Majorelle Blue
#214fc6
New Car
#2f3cb3
Governor Bay
#324ab2
Violet Blue
#2243b6
Denim Blue
#5946b2
Plump Purple
#4169e1
Royal Blue
#1c39bb
Persian Blue
#446ccf
Han Blue
#652dc1
Purple Heart Crayola
#4f69c6
Indigo
#286acd
Mariner

Hex #4040d4 Color Information

Hex #4040d4 Color PlainHex #4040d4 Color is a normal blue color and the nearest color is Palatinate Blue #273be2. Hex code #4040d4 and RGB value is rgb(64,64,212). In RGB color space, this color is composed of 25% red, 25% green, 83% blue, In CMYK color space, this color is composed of 70% cyan, 70% magenta, 0% yellow , 17% black , In HSL color space, this color has a hue angle of 240° , 63% saturation and 54% lightness.

RGB
Red (25%)
Green (25%)
Blue (83%)
CMYK
Cyan (70%)
Magenta (70%)
Yellow (0%)
Black (17%)
RYB
Red (25%)
Yellow (25%)
Blue (83%)
CMY
Cyan (75%)
Magenta (75%)
Yellow (17%)

Color Schemes with Hex #4040d4

Complementary Color

Two colors are on opposite sides of the color wheel. This combination provides a combination of high contrast and high impact colors that will appear brighter and more prominent.

Analogous Color

Three colors side by side on the color wheel. They usually match well to create a quiet and comfortable design. Analogous color schemes are often found in nature and are harmonious and pleasing to the eye.

Split Complementary Color

This combination consists of one color and the colors on both sides of the complementary color. By including three shades, this strategy adds more variety than complementary color schemes without being too harsh or too bold.

Triadic Color

Three colors evenly distributed on the color wheel. This provides a high contrast color scheme, Triadic Color combination creates a bold, vibrant color palette.

Tetradic Color

Four colors evenly distributed on the color wheel. These color combinations are always loud and fun, and the vibrancy makes the design stand out. Tetradic color scheme is bold and works best if one color is dominant.

Monochromatic Color

This combination is different variations of a single hue. This combination consists of varying tints, shades, and tones of the chosen hue. These combinations are great for simplifying busy designs and creating a harmonious, visually appealing look.

Tint Color

Tint combination is created by adding white to the base hue to brighten the color. This can make the colors less intense and is very useful when balancing more vivid color combinations.

Shade Color

Shade combination is created by adding black to the base hue and darkening the color. This creates a deeper and richer color. The shadows can be quite dramatic and can be overpowering.

Tone Color

Tone is a hue or mixture of pure colors to which only pure gray is added (equal amounts of black and white). Adding gray to a color will make the intensity much duller.

Hex #4040d4 Color Preview

Preview Color Hex #4040d4 on Black Background

Preview Color Hex #4040d4 on White Background

Hex #4040d4 CSS Examples

Text Font Color

This text has a font color of Hex #4040d4

<p style="color:#4040d4">Text here</p>
<div style="color:rgb(64,64,212")>Text here</div>
<span style="color:hsl(240,63%,54%)">Text here</span>

Border Color

This element has a border color of Hex #4040d4

<p style="border:1px solid #4040d4">Content here</p>
<div style="border:1px solid rgb(64,64,212")>Text here</div>
<span style="border:1px solid hsl(240,63%,54%)">Text here</span>

Div Box Shadow

This element has a border color of Hex #4040d4

<div style="-moz-box-shadow: 1px 1px 3px 2px #4040d4;
  -webkit-box-shadow: 1px 1px 3px 2px rgb(64,64,212);
  box-shadow: 1px 1px 3px 2px hsl(240,63%,54%);">
Text here</div>

background color

This text has a font color of Hex #4040d4

<p style="background-color:#4040d4">Text here</p>
<div style="background-color:rgb(64,64,212")>Text here</div>
<span style="background-color:hsl(240,63%,54%)">Text here</span>

Text Shadow

This text has a font color of Hex #4040d4

<p style="text-shadow: 3px 3px 2px #4040d4">Text here</p>
<div style="text-shadow: 3px 3px 2px rgb(64,64,212)">Text here</div>
<span style="text-shadow: 3px 3px 2px hsl(240,63%,54%)">Text here</span>

Hex #4040d4 css code

.text {color:#4040d4;}
.background {background-color:rgb(64,64,212);}
.border{ border-color:hsl(240,63%,54%);}
.textShadowRgb { text-shadow: 3px 3px 2px rgb(64,64,212); }
.textShadowHex { text-shadow: 3px 3px 2px #e74ff0; }
.textShadowHsl { text-shadow: 3px 3px 2px hsl(240,63%,54%); }
.divShadow { -moz-box-shadow: 1px 1px 3px 2px rgb(64,64,212);
  -webkit-box-shadow: 1px 1px 3px 2px #4040d4;
  box-shadow: 1px 1px 3px 2px hsl(240,63%,54%); }

Recently Searched Colors