In RGB color space, #0400b4 hex color has a red value of 4, a green value of 0 and a blue value of 180.
In CMYK color space (used in color printing), #0400b4 hex color is composed of 97.78% cyan, 100% magenta, 0% yellow and 29.41% black.
#0400b4 color has a hue of 241.3 degrees, a saturation of 100% and a lightness of 35.3%.
#0400b4 hex color contains mainly BLUE.
The closest web safe color of #0400b4 is #0000cc
#0400b4 hex color has a decimal value of 262324.
HEX | 0400b4 | #0400b4 |
---|---|---|
RGB | 4, 0, 180 | rgb(4, 0, 180) |
RGB Percent | 1.57, 0, 70.59 | rgb(1.57, 0, 70.59) |
CMYK | 98, 100, 0, 29 | |
HSL | 241.3°, 100, 35.3 | hsl(241.3, 100%, 35.3%) |
HSV | 241.3°, 100, 70.6 |
XYZ | 8.288, 3.321, 43.384 |
---|---|
Hunter Lab | 18.224, 49.29, -128.392 |
CIE-LAB | 21.286, 61.005, -82.884 |
CIE-LCH | 21.286, 102.914, 306.354 |
CIE-LUV | 97.78, 100, 0, 29.41 |
Web Safe | 0000cc |
RGB percent of color #0400b4
CMYK percent of color #0400b4
Text with hexadecimal color #0400b4
This text has a font color of #0400b4
<p style="color:#0400b4">Text here</p>
#0400b4 Background Color
This box has a background color of #0400b4
<div style="background-color:#0400b4">Text here</div>
#0400b4 Border Color
This box has a border color of #0400b4
<div style="border: 4px solid #0400b4">Text here</div>
CSS codes
<p style="color:#0400b4">Text here</p>
<div style="background-color:#0400b4">Text here</div>
<div style="border: 4px solid #0400b4">Text here</div>
#0400b4 Color on white background
This is how a font and box color of #0400b4 will look
on a white background.
#0400b4 Color on black background
This is how a font and box color of #0400b4 hex color will look
on a black background.