Color: #04047C

#04047C Color Information

#04047C is a dark color. The closest websafe version is #04047C. A complement of this color would be #7C7C04, perceived brightness is 0.07, and the grayscale version is #404040.

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

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

In the Yxy color space, this color is represented as Y: 1.34, x: 0.1591, and y: 0.0715.

Color Code #04047C

HEX
#04047C
RGB
rgb(4, 4, 124)
HSL
hsl(240, 94%, 25%)
HSV
hsv(240, 97%, 49%)
CMYK
97%, 97%, 0%, 51%
XYZ
X: 2.98, Y: 1.34, Z: 14.41
Lab
L: 11.52, a: 38.34, b: -64.33
Name

Shades of Color #04047C

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

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

In the HSL color space, this color has a hue angle of 240°, a saturation of 94%, and a lightness of 25%. The HSV representation shows a hue of 240°, a saturation of 97%, and a value of 49%.

  • HEX: #04047C
  • RGB: rgb(4, 4, 124)
  • HSL: hsl(240, 94%, 25%)
  • HSV: hsv(240, 97%, 49%)
  • CMYK: 97.00% cyan, 97.00% magenta, 0.00% yellow, 51.00% black
  • XYZ: 2.98, 1.34, 14.41
  • Yxy: 1.34, 0.1591, 0.0715
  • Hunter Lab: 11.52, 38.34, -64.33
  • CIE-Lab: 11.52, 38.34, -64.33

In the XYZ color space, this color is represented as X: 2.98, Y: 1.34, Z: 14.41. The Yxy representation further refines this as Y: 1.34, x: 0.1591, and y: 0.0715.

In the Hunter Lab color space, this color is represented as L: 11.52, a: 38.34, and b: -64.33. Similarly, in the CIE-Lab color space, it is represented as L: 11.52, a: 38.34, and b: -64.33.

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

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

Analogous Colors of #04047C

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

Monochromatic Colors of #04047C

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

Complementary Color of #04047C

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

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

HTML Examples of #04047C

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

Related Colors of #04047C

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