Color: #04007C

#04007C Color Information

#04007C is a dark color. The closest websafe version is #04007C. A complement of this color would be #767A00, perceived brightness is 0.06, and the grayscale version is #3E3E3E.

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

In a RGB color space, #04007C is composed of 2% red, 0% green and 49% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 100% magenta, 0% yellow and 51% black.

In the Yxy color space, this color is represented as Y: 1.25, x: 0.1581, and y: 0.0672.

Color Code #04007C

HEX
#04007C
RGB
rgb(4, 0, 124)
HSL
hsl(242, 100%, 24%)
HSV
hsv(242, 100%, 49%)
CMYK
97%, 100%, 0%, 51%
XYZ
X: 2.94, Y: 1.25, Z: 14.40
Lab
L: 10.91, a: 40.15, b: -65.35
Name

Shades of Color #04007C

Shades are created by darkening the original color #04007C 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 #04007C

Tints are created by lightening the original color #04007C 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 #04007C Color Code

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

  • HEX: #04007C
  • RGB: rgb(4, 0, 124)
  • HSL: hsl(242, 100%, 24%)
  • HSV: hsv(242, 100%, 49%)
  • CMYK: 97.00% cyan, 100.00% magenta, 0.00% yellow, 51.00% black
  • XYZ: 2.94, 1.25, 14.40
  • Yxy: 1.25, 0.1581, 0.0672
  • Hunter Lab: 10.91, 40.15, -65.35
  • CIE-Lab: 10.91, 40.15, -65.35

In the XYZ color space, this color is represented as X: 2.94, Y: 1.25, Z: 14.40. The Yxy representation further refines this as Y: 1.25, x: 0.1581, and y: 0.0672.

In the Hunter Lab color space, this color is represented as L: 10.91, a: 40.15, and b: -65.35. Similarly, in the CIE-Lab color space, it is represented as L: 10.91, a: 40.15, and b: -65.35.

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 #04007C

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

Analogous Colors of #04007C

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

Monochromatic Colors of #04007C

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

Complementary Color of #04007C

The complementary color of #04007C 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 #04007C

/* Using HEX */
body {
  background-color: #04007c;
}
/* Using RGB */
body {
  background-color: rgb(4, 0, 124);
}
/* Using RGB with opacity */
body {
  background-color: rgba(4, 0, 124, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(242, 100%, 24%);
}
/* Text color */
p {
  color: #04007c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #04007c;
}

HTML Examples of #04007C

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

Related Colors of #04007C

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