In RGB color space, #0842a1 hex color has a red value of 8, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #0842a1 hex color is composed of 95.03% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#0842a1 color has a hue of 217.3 degrees, a saturation of 90.53% and a lightness of 33.1%.
#0842a1 hex color contains mainly BLUE.
The closest web safe color of #0842a1 is #003399
#0842a1 hex color has a decimal value of 541345.
HEX | 0842a1 | #0842a1 |
---|---|---|
RGB | 8, 66, 161 | rgb(8, 66, 161) |
RGB Percent | 3.14, 25.88, 63.14 | rgb(3.14, 25.88, 63.14) |
CMYK | 95, 59, 0, 37 | |
HSL | 217.3°, 90.53, 33.1 | hsl(217.3, 90.53%, 33.1%) |
HSV | 217.3°, 95, 63.1 |
XYZ | 8.481, 6.521, 34.53 |
---|---|
Hunter Lab | 25.536, 14.594, -62.296 |
CIE-LAB | 30.691, 22.176, -55.887 |
CIE-LCH | 30.691, 60.126, 291.643 |
CIE-LUV | 95.03, 59.01, 0, 36.86 |
Web Safe | 003399 |
RGB percent of color #0842a1
CMYK percent of color #0842a1
Text with hexadecimal color #0842a1
This text has a font color of #0842a1
<p style="color:#0842a1">Text here</p>
#0842a1 Background Color
This box has a background color of #0842a1
<div style="background-color:#0842a1">Text here</div>
#0842a1 Border Color
This box has a border color of #0842a1
<div style="border: 4px solid #0842a1">Text here</div>
CSS codes
<p style="color:#0842a1">Text here</p>
<div style="background-color:#0842a1">Text here</div>
<div style="border: 4px solid #0842a1">Text here</div>
#0842a1 Color on white background
This is how a font and box color of #0842a1 will look
on a white background.
#0842a1 Color on black background
This is how a font and box color of #0842a1 hex color will look
on a black background.