In a RGB color space, #000040 hex color is composed of 0% red, 0% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 100% magenta, 0% yellow and 74.9% black. It has a hue angle of 240 degrees, a saturation of 100% and a lightness of 12.5%. #000040 color hex could be obtained by blending #000080 with #000000. Closest websafe color is: #000033.
The hexadecimal color #000040 has RGB values of R:0, G:0, B:64 and CMYK values of C:1, M:1, Y:0, K:0.75. Its decimal value is 64.
Hex triplet | 000040 | #000040 |
RGB Decimal | 0, 0, 64 | rgb(0,0,64) |
RGB Percent | 0, 0, 25.1 | rgb(0%,0%,25.1%) |
CMYK | 100, 100, 0, 74.9 | |
HSL | 240°, 100, 12.5 | hsl(240,100%,12.5%) |
HSV(HSB) | 240°, 100, 25.1 | |
Web Safe | 000033 | #003 |
XYZ | 0.925, 0.37, 4.873 |
xyY | 0.15, 0.06, 0.37 |
CIE-LAB | 3.344, 23.389, -37.658 |
CIE-LCH | 3.344, 44.33, 301.844 |
CIE-LUV | 3.344, -0.973, -13.494 |
Hunter-Lab | 6.084, 16.503, -43.23 |
Binary | 00000000, 00000000, 01000000 |
Below, you can see some colors close to #000040. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
This text has a font color of #000040.
<span style="color:#000040">Text here</span>
This paragraph has a background color of #000040.
<p style="background-color:#000040;">Content here</p>
This element has a border color of #000040.
<div style="border:1px #000040;">Content here</div>
.text {color:#000040;}
.background {background-color:#000040;}
.border {border:1px solid #000040;}
.text-shadow {border:1px solid #000040;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000000 is the darkest color, while #eaeaff is the lightest one.
A tone is produced by adding gray to any pure hue. In this case, #202020 is the less saturated color, while #03033d is the most saturated one.