In RGB color space, #0840b4 hex color has a red value of 8, a green value of 64 and a blue value of 180.
In CMYK color space (used in color printing), #0840b4 hex color is composed of 95.56% cyan, 64.44% magenta, 0% yellow and 29.41% black.
#0840b4 color has a hue of 220.5 degrees, a saturation of 91.49% and a lightness of 36.9%.
#0840b4 hex color contains mainly BLUE.
The closest web safe color of #0840b4 is #0033cc
#0840b4 hex color has a decimal value of 540852.
HEX | 0840b4 | #0840b4 |
---|---|---|
RGB | 8, 64, 180 | rgb(8, 64, 180) |
RGB Percent | 3.14, 25.1, 70.59 | rgb(3.14, 25.1, 70.59) |
CMYK | 96, 64, 0, 29 | |
HSL | 220.5°, 91.49, 36.9 | hsl(220.5, 91.49%, 36.9%) |
HSV | 220.5°, 95.6, 70.6 |
XYZ | 10.172, 7.014, 43.998 |
---|---|
Hunter Lab | 26.484, 22.212, -79.96 |
CIE-LAB | 31.839, 31.187, -65.381 |
CIE-LCH | 31.839, 72.438, 295.501 |
CIE-LUV | 95.56, 64.44, 0, 29.41 |
Web Safe | 0033cc |
RGB percent of color #0840b4
CMYK percent of color #0840b4
Text with hexadecimal color #0840b4
This text has a font color of #0840b4
<p style="color:#0840b4">Text here</p>
#0840b4 Background Color
This box has a background color of #0840b4
<div style="background-color:#0840b4">Text here</div>
#0840b4 Border Color
This box has a border color of #0840b4
<div style="border: 4px solid #0840b4">Text here</div>
CSS codes
<p style="color:#0840b4">Text here</p>
<div style="background-color:#0840b4">Text here</div>
<div style="border: 4px solid #0840b4">Text here</div>
#0840b4 Color on white background
This is how a font and box color of #0840b4 will look
on a white background.
#0840b4 Color on black background
This is how a font and box color of #0840b4 hex color will look
on a black background.