Color: #00126C

#00126C Color Information

#00126C is a dark color. The closest websafe version is #00126C. A complement of this color would be #6B5900, perceived brightness is 0.09, and the grayscale version is #363636.

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

In a RGB color space, #00126C is composed of 0% red, 7% green and 42% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 83% magenta, 0% yellow and 58% black.

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

Color Code #00126C

#00126Crgb(0, 18, 108)
HEX
#00126C
RGB
rgb(0, 18, 108)
HSL
hsl(230, 100%, 21%)
HSV
hsv(230, 100%, 42%)
CMYK
100%, 83%, 0%, 58%
XYZ
X: 2.38, Y: 1.34, Z: 10.77
Lab
L: 11.57, a: 26.71, b: -53.91
Name

Shades of Color #00126C

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

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

#00126Crgb(0, 18, 108)

About #00126C Color Code

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

  • HEX: #00126C
  • RGB: rgb(0, 18, 108)
  • HSL: hsl(230, 100%, 21%)
  • HSV: hsv(230, 100%, 42%)
  • CMYK: 100.00% cyan, 83.00% magenta, 0.00% yellow, 58.00% black
  • XYZ: 2.38, 1.34, 10.77
  • Yxy: 1.34, 0.1643, 0.0925
  • Hunter Lab: 11.57, 26.71, -53.91
  • CIE-Lab: 11.57, 26.71, -53.91

In the XYZ color space, this color is represented as X: 2.38, Y: 1.34, Z: 10.77. The Yxy representation further refines this as Y: 1.34, x: 0.1643, and y: 0.0925.

In the Hunter Lab color space, this color is represented as L: 11.57, a: 26.71, and b: -53.91. Similarly, in the CIE-Lab color space, it is represented as L: 11.57, a: 26.71, and b: -53.91.

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

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

Analogous Colors of #00126C

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

Monochromatic Colors of #00126C

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

Complementary Color of #00126C

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

/* Using HEX */
body {
  background-color: #00126c;
}
/* Using RGB */
body {
  background-color: rgb(0, 18, 108);
}
/* Using RGB with opacity */
body {
  background-color: rgba(0, 18, 108, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(230, 100%, 21%);
}
/* Text color */
p {
  color: #00126c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #00126c;
}
/* Border color */
.box {
  border: 4px solid #00126c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #00126c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #00126c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#00126C
On Black Background
#00126C
On White Background
#00126C

HTML Examples of #00126C

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

Related Colors of #00126C

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