In RGB color space, #040340 hex color has a red value of 4, a green value of 3 and a blue value of 64.
In CMYK color space (used in color printing), #040340 hex color is composed of 93.75% cyan, 95.31% magenta, 0% yellow and 74.9% black.
#040340 color has a hue of 241 degrees, a saturation of 91.04% and a lightness of 13.1%.
#040340 hex color contains mainly BLUE.
The closest web safe color of #040340 is #000033
#040340 hex color has a decimal value of 262976.
HEX | 040340 | #040340 |
---|---|---|
RGB | 4, 3, 64 | rgb(4, 3, 64) |
RGB Percent | 1.57, 1.18, 25.1 | rgb(1.57, 1.18, 25.1) |
CMYK | 94, 95, 0, 75 | |
HSL | 241°, 91.04, 13.1 | hsl(241, 91.04%, 13.1%) |
HSV | 241°, 95.3, 25.1 |
XYZ | 1.008, 0.461, 4.886 |
---|---|
Hunter Lab | 6.79, 14.618, -37.913 |
CIE-LAB | 4.164, 22.938, -36.306 |
CIE-LCH | 4.164, 42.945, 302.285 |
CIE-LUV | 93.75, 95.31, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040340
CMYK percent of color #040340
Text with hexadecimal color #040340
This text has a font color of #040340
<p style="color:#040340">Text here</p>
#040340 Background Color
This box has a background color of #040340
<div style="background-color:#040340">Text here</div>
#040340 Border Color
This box has a border color of #040340
<div style="border: 4px solid #040340">Text here</div>
CSS codes
<p style="color:#040340">Text here</p>
<div style="background-color:#040340">Text here</div>
<div style="border: 4px solid #040340">Text here</div>
#040340 Color on white background
This is how a font and box color of #040340 will look
on a white background.
#040340 Color on black background
This is how a font and box color of #040340 hex color will look
on a black background.