In RGB color space, #042ba3 hex color has a red value of 4, a green value of 43 and a blue value of 163.
In CMYK color space (used in color printing), #042ba3 hex color is composed of 97.55% cyan, 73.62% magenta, 0% yellow and 36.08% black.
#042ba3 color has a hue of 225.3 degrees, a saturation of 95.21% and a lightness of 32.7%.
#042ba3 hex color contains mainly BLUE.
The closest web safe color of #042ba3 is #003399
#042ba3 hex color has a decimal value of 273315.
HEX | 042ba3 | #042ba3 |
---|---|---|
RGB | 4, 43, 163 | rgb(4, 43, 163) |
RGB Percent | 1.57, 16.86, 63.92 | rgb(1.57, 16.86, 63.92) |
CMYK | 98, 74, 0, 36 | |
HSL | 225.3°, 95.21, 32.7 | hsl(225.3, 95.21%, 32.7%) |
HSV | 225.3°, 97.5, 63.9 |
XYZ | 7.525, 4.398, 35.103 |
---|---|
Hunter Lab | 20.971, 27.35, -84.563 |
CIE-LAB | 24.946, 38.206, -66.542 |
CIE-LCH | 24.946, 76.73, 299.863 |
CIE-LUV | 97.55, 73.62, 0, 36.08 |
Web Safe | 003399 |
RGB percent of color #042ba3
CMYK percent of color #042ba3
Text with hexadecimal color #042ba3
This text has a font color of #042ba3
<p style="color:#042ba3">Text here</p>
#042ba3 Background Color
This box has a background color of #042ba3
<div style="background-color:#042ba3">Text here</div>
#042ba3 Border Color
This box has a border color of #042ba3
<div style="border: 4px solid #042ba3">Text here</div>
CSS codes
<p style="color:#042ba3">Text here</p>
<div style="background-color:#042ba3">Text here</div>
<div style="border: 4px solid #042ba3">Text here</div>
#042ba3 Color on white background
This is how a font and box color of #042ba3 will look
on a white background.
#042ba3 Color on black background
This is how a font and box color of #042ba3 hex color will look
on a black background.