In RGB color space, #0400a8 hex color has a red value of 4, a green value of 0 and a blue value of 168.
In CMYK color space (used in color printing), #0400a8 hex color is composed of 97.62% cyan, 100% magenta, 0% yellow and 34.12% black.
#0400a8 color has a hue of 241.4 degrees, a saturation of 100% and a lightness of 32.9%.
#0400a8 hex color contains mainly BLUE.
The closest web safe color of #0400a8 is #000099
#0400a8 hex color has a decimal value of 262312.
HEX | 0400a8 | #0400a8 |
---|---|---|
RGB | 4, 0, 168 | rgb(4, 0, 168) |
RGB Percent | 1.57, 0, 65.88 | rgb(1.57, 0, 65.88) |
CMYK | 98, 100, 0, 34 | |
HSL | 241.4°, 100, 32.9 | hsl(241.4, 100%, 32.9%) |
HSV | 241.4°, 100, 65.9 |
XYZ | 7.118, 2.853, 37.221 |
---|---|
Hunter Lab | 16.891, 45.663, -118.829 |
CIE-LAB | 19.445, 57.973, -78.73 |
CIE-LCH | 19.445, 97.772, 306.366 |
CIE-LUV | 97.62, 100, 0, 34.12 |
Web Safe | 000099 |
RGB percent of color #0400a8
CMYK percent of color #0400a8
Text with hexadecimal color #0400a8
This text has a font color of #0400a8
<p style="color:#0400a8">Text here</p>
#0400a8 Background Color
This box has a background color of #0400a8
<div style="background-color:#0400a8">Text here</div>
#0400a8 Border Color
This box has a border color of #0400a8
<div style="border: 4px solid #0400a8">Text here</div>
CSS codes
<p style="color:#0400a8">Text here</p>
<div style="background-color:#0400a8">Text here</div>
<div style="border: 4px solid #0400a8">Text here</div>
#0400a8 Color on white background
This is how a font and box color of #0400a8 will look
on a white background.
#0400a8 Color on black background
This is how a font and box color of #0400a8 hex color will look
on a black background.