Color: #04155D

#04155D Color Information

#04155D is a dark color. The closest websafe version is #04155D. A complement of this color would be #5D4D04, perceived brightness is 0.09, and the grayscale version is #303030.

In the HSL color space, this color has a hue angle of 229°,a saturation of 92%, and a lightness of 19%.The HSV representation shows a hue of 229°, a saturation of 96%, and a value of 36%.

In a RGB color space, #04155D is composed of 2% red, 8% green and 36% blue. Whereas in a CMYK color space, it is composed of 96% cyan, 77% magenta, 0% yellow and 64% black.

In the Yxy color space, this color is represented as Y: 1.23, x: 0.1732, and y: 0.1115.

Color Code #04155D

#04155Drgb(4, 21, 93)
HEX
#04155D
RGB
rgb(4, 21, 93)
HSL
hsl(229, 92%, 19%)
HSV
hsv(229, 96%, 36%)
CMYK
96%, 77%, 0%, 64%
XYZ
X: 1.91, Y: 1.23, Z: 7.89
Lab
L: 10.76, a: 19.88, b: -45.32
Name

Shades of Color #04155D

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

Tints are created by lightening the original color #04155D 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.

#04155Drgb(4, 21, 93)

About #04155D Color Code

In the HSL color space, this color has a hue angle of 229°, a saturation of 92%, and a lightness of 19%. The HSV representation shows a hue of 229°, a saturation of 96%, and a value of 36%.

  • HEX: #04155D
  • RGB: rgb(4, 21, 93)
  • HSL: hsl(229, 92%, 19%)
  • HSV: hsv(229, 96%, 36%)
  • CMYK: 96.00% cyan, 77.00% magenta, 0.00% yellow, 64.00% black
  • XYZ: 1.91, 1.23, 7.89
  • Yxy: 1.23, 0.1732, 0.1115
  • Hunter Lab: 10.76, 19.88, -45.32
  • CIE-Lab: 10.76, 19.88, -45.32

In the XYZ color space, this color is represented as X: 1.91, Y: 1.23, Z: 7.89. The Yxy representation further refines this as Y: 1.23, x: 0.1732, and y: 0.1115.

In the Hunter Lab color space, this color is represented as L: 10.76, a: 19.88, and b: -45.32. Similarly, in the CIE-Lab color space, it is represented as L: 10.76, a: 19.88, and b: -45.32.

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 #04155D

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

Analogous Colors of #04155D

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

Split Complementary Colors of #04155D

Split complementary colors are two colors adjacent to the complementary color of #04155D. They create a balanced and visually appealing color scheme.

Tetradic Colors of #04155D

Tetradic colors form a rectangle on the color wheel, including #04155D. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #04155D

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

Complementary Color of #04155D

The complementary color of #04155D 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 #04155D

/* Using HEX */
body {
  background-color: #04155d;
}
/* Using RGB */
body {
  background-color: rgb(4, 21, 93);
}
/* Using RGB with opacity */
body {
  background-color: rgba(4, 21, 93, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(229, 92%, 19%);
}
/* Text color */
p {
  color: #04155d;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #04155d;
}
/* Border color */
.box {
  border: 4px solid #04155d;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #04155d;
}
Text Shadow Preview
/* Background with text */
div {
  background: #04155d;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#04155D
On Black Background
#04155D
On White Background
#04155D

HTML Examples of #04155D

<!-- Using HEX -->
<div style="background-color: #04155d; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(4, 21, 93); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(4, 21, 93, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(229, 92%, 19%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #04155d;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #04155d; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #04155d; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #04155d;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #04155d; color: #fff; padding: 16px; border-radius: 8px;">
  #04155D
</div>
#04155D
On Black Background
#04155D
On White Background
#04155D

Related Colors of #04155D

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