In RGB color space, #0840b9 hex color has a red value of 8, a green value of 64 and a blue value of 185.
In CMYK color space (used in color printing), #0840b9 hex color is composed of 95.68% cyan, 65.41% magenta, 0% yellow and 27.45% black.
#0840b9 color has a hue of 221 degrees, a saturation of 91.71% and a lightness of 37.8%.
#0840b9 hex color contains mainly BLUE.
The closest web safe color of #0840b9 is #0033cc
#0840b9 hex color has a decimal value of 540857.
HEX | 0840b9 | #0840b9 |
---|---|---|
RGB | 8, 64, 185 | rgb(8, 64, 185) |
RGB Percent | 3.14, 25.1, 72.55 | rgb(3.14, 25.1, 72.55) |
CMYK | 96, 65, 0, 27 | |
HSL | 221°, 91.71, 37.8 | hsl(221, 91.71%, 37.8%) |
HSV | 221°, 95.7, 72.5 |
XYZ | 10.69, 7.221, 46.729 |
---|---|
Hunter Lab | 26.872, 23.984, -84.292 |
CIE-LAB | 32.305, 33.141, -67.575 |
CIE-LCH | 32.305, 75.264, 296.125 |
CIE-LUV | 95.68, 65.41, 0, 27.45 |
Web Safe | 0033cc |
RGB percent of color #0840b9
CMYK percent of color #0840b9
Text with hexadecimal color #0840b9
This text has a font color of #0840b9
<p style="color:#0840b9">Text here</p>
#0840b9 Background Color
This box has a background color of #0840b9
<div style="background-color:#0840b9">Text here</div>
#0840b9 Border Color
This box has a border color of #0840b9
<div style="border: 4px solid #0840b9">Text here</div>
CSS codes
<p style="color:#0840b9">Text here</p>
<div style="background-color:#0840b9">Text here</div>
<div style="border: 4px solid #0840b9">Text here</div>
#0840b9 Color on white background
This is how a font and box color of #0840b9 will look
on a white background.
#0840b9 Color on black background
This is how a font and box color of #0840b9 hex color will look
on a black background.