Color: #02104B

#02104B Color Information

#02104B is a dark color. The closest websafe version is #02104B. A complement of this color would be #4B3C02, perceived brightness is 0.07, and the grayscale version is #272727.

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

In a RGB color space, #02104B is composed of 1% red, 6% green and 29% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 79% magenta, 0% yellow and 71% black.

In the Yxy color space, this color is represented as Y: 0.81, x: 0.1728, and y: 0.1138.

Color Code #02104B

HEX
#02104B
RGB
rgb(2, 16, 75)
HSL
hsl(228, 95%, 15%)
HSV
hsv(228, 97%, 29%)
CMYK
97%, 79%, 0%, 71%
XYZ
X: 1.23, Y: 0.81, Z: 5.08
Lab
L: 7.33, a: 16.35, b: -38.73
Name

Shades of Color #02104B

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

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

In the HSL color space, this color has a hue angle of 228°, a saturation of 95%, and a lightness of 15%. The HSV representation shows a hue of 228°, a saturation of 97%, and a value of 29%.

  • HEX: #02104B
  • RGB: rgb(2, 16, 75)
  • HSL: hsl(228, 95%, 15%)
  • HSV: hsv(228, 97%, 29%)
  • CMYK: 97.00% cyan, 79.00% magenta, 0.00% yellow, 71.00% black
  • XYZ: 1.23, 0.81, 5.08
  • Yxy: 0.81, 0.1728, 0.1138
  • Hunter Lab: 7.33, 16.35, -38.73
  • CIE-Lab: 7.33, 16.35, -38.73

In the XYZ color space, this color is represented as X: 1.23, Y: 0.81, Z: 5.08. The Yxy representation further refines this as Y: 0.81, x: 0.1728, and y: 0.1138.

In the Hunter Lab color space, this color is represented as L: 7.33, a: 16.35, and b: -38.73. Similarly, in the CIE-Lab color space, it is represented as L: 7.33, a: 16.35, and b: -38.73.

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 #02104B

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

Analogous Colors of #02104B

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

Monochromatic Colors of #02104B

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

Complementary Color of #02104B

The complementary color of #02104B 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 #02104B

/* Using HEX */
body {
  background-color: #02104b;
}
/* Using RGB */
body {
  background-color: rgb(2, 16, 75);
}
/* Using RGB with opacity */
body {
  background-color: rgba(2, 16, 75, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(228, 95%, 15%);
}
/* Text color */
p {
  color: #02104b;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #02104b;
}

HTML Examples of #02104B

<!-- Using HEX -->
<div style="background-color: #02104b; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(2, 16, 75); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(2, 16, 75, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(228, 95%, 15%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #02104b;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #02104b; width: 100px; height: 100px;"></div>

Related Colors of #02104B

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