Color: #0038D8
#0038D8 Color Information
#0038D8 is a dark color. The closest websafe version is #0038D8. A complement of this color would be #D69D00, perceived brightness is 0.23, and the grayscale version is #6C6C6C.
In the HSL color space, this color has a hue angle of 224°,a saturation of 99%, and a lightness of 42%.The HSV representation shows a hue of 224°, a saturation of 100%, and a value of 85%.
In a RGB color space, #0038D8 is composed of 0% red, 22% green and 85% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 74% magenta, 0% yellow and 15% black.
In the Yxy color space, this color is represented as Y: 7.00, x: 0.1675, and y: 0.1033.
Color Code #0038D8
Shades of Color #0038D8
Shades are created by darkening the original color #0038D8 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 #0038D8
Tints are created by lightening the original color #0038D8 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 #0038D8 Color Code
In the HSL color space, this color has a hue angle of 224°, a saturation of 100%, and a lightness of 42%. The HSV representation shows a hue of 224°, a saturation of 100%, and a value of 85%.
- HEX: #0038D8
- RGB: rgb(0, 56, 216)
- HSL: hsl(224, 100%, 42%)
- HSV: hsv(224, 100%, 85%)
- CMYK: 100.00% cyan, 74.00% magenta, 0.00% yellow, 15.00% black
- XYZ: 11.35, 7.00, 49.43
- Yxy: 7.00, 0.1675, 0.1033
- Hunter Lab: 31.80, 38.99, -86.17
- CIE-Lab: 31.80, 38.99, -86.17
In the XYZ color space, this color is represented as X: 11.35, Y: 7.00, Z: 49.43. The Yxy representation further refines this as Y: 7.00, x: 0.1675, and y: 0.1033.
In the Hunter Lab color space, this color is represented as L: 31.80, a: 38.99, and b: -86.17. Similarly, in the CIE-Lab color space, it is represented as L: 31.80, a: 38.99, and b: -86.17.
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 #0038D8
Triadic colors are three colors evenly spaced around the color wheel, including #0038D8. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #0038D8
Monochromatic colors are variations of #0038D8, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #0038D8
The complementary color of #0038D8 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 #0038D8
/* Using HEX */ body { background-color: #0038d8; }
/* Using RGB */ body { background-color: rgb(0, 56, 216); }
/* Using RGB with opacity */ body { background-color: rgba(0, 56, 216, 0.5); }
/* Using HSL */ body { background-color: hsl(224, 100%, 42%); }
/* Text color */ p { color: #0038d8; }
/* Box shadow */ div { box-shadow: 4px 4px #0038d8; }
/* Border color */ .box { border: 4px solid #0038d8; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #0038d8; }
/* Background with text */ div { background: #0038d8; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #0038D8
<!-- Using HEX --> <div style="background-color: #0038d8; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(0, 56, 216); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(0, 56, 216, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(224, 100%, 42%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #0038d8;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #0038d8; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #0038d8; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #0038d8;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #0038d8; color: #fff; padding: 16px; border-radius: 8px;"> #0038D8 </div>
Related Colors of #0038D8
These colors are similar to #0038D8, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.