Color: #0040FF

#0040FF Color Information

#0040FF is a dark color. The closest websafe version is #0040FF. A complement of this color would be #FFBF00, perceived brightness is 0.26, and the grayscale version is #808080.

In the HSL color space, this color has a hue angle of 225°,a saturation of 99%, and a lightness of 50%.The HSV representation shows a hue of 225°, a saturation of 100%, and a value of 100%.

In a RGB color space, #0040FF is composed of 0% red, 25% green and 100% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 75% magenta, 0% yellow and 0% black.

In the Yxy color space, this color is represented as Y: 9.74, x: 0.1662, and y: 0.0994.

Color Code #0040FF

HEX
#0040FF
RGB
rgb(0, 64, 255)
HSL
hsl(225, 100%, 50%)
HSV
hsv(225, 100%, 100%)
CMYK
100%, 75%, 0%, 0%
XYZ
X: 16.28, Y: 9.74, Z: 71.92
Lab
L: 37.37, a: 46.34, b: -99.03
Name

Shades of Color #0040FF

Shades are created by darkening the original color #0040FF in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #0040FF

Tints are created by lightening the original color #0040FF in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

About #0040FF Color Code

In the HSL color space, this color has a hue angle of 225°, a saturation of 100%, and a lightness of 50%. The HSV representation shows a hue of 225°, a saturation of 100%, and a value of 100%.

  • HEX: #0040FF
  • RGB: rgb(0, 64, 255)
  • HSL: hsl(225, 100%, 50%)
  • HSV: hsv(225, 100%, 100%)
  • CMYK: 100.00% cyan, 75.00% magenta, 0.00% yellow, 0.00% black
  • XYZ: 16.28, 9.74, 71.92
  • Yxy: 9.74, 0.1662, 0.0994
  • Hunter Lab: 37.37, 46.34, -99.03
  • CIE-Lab: 37.37, 46.34, -99.03

In the XYZ color space, this color is represented as X: 16.28, Y: 9.74, Z: 71.92. The Yxy representation further refines this as Y: 9.74, x: 0.1662, and y: 0.0994.

In the Hunter Lab color space, this color is represented as L: 37.37, a: 46.34, and b: -99.03. Similarly, in the CIE-Lab color space, it is represented as L: 37.37, a: 46.34, and b: -99.03.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #0040FF

Triadic colors are three colors evenly spaced around the color wheel, including #0040FF. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #0040FF

Analogous colors are adjacent to #0040FF on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #0040FF

Monochromatic colors are variations of #0040FF, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #0040FF

The complementary color of #0040FF is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #0040FF

/* Using HEX */
body {
  background-color: #0040ff;
}
/* Using RGB */
body {
  background-color: rgb(0, 64, 255);
}
/* Using RGB with opacity */
body {
  background-color: rgba(0, 64, 255, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(225, 100%, 50%);
}
/* Text color */
p {
  color: #0040ff;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #0040ff;
}

HTML Examples of #0040FF

<!-- Using HEX -->
<div style="background-color: #0040ff; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(0, 64, 255); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(0, 64, 255, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(225, 100%, 50%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #0040ff;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #0040ff; width: 100px; height: 100px;"></div>

Related Colors of #0040FF

These colors are similar to #0040FF, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.