In RGB color space, #0f42ba hex color has a red value of 15, a green value of 66 and a blue value of 186.
In CMYK color space (used in color printing), #0f42ba hex color is composed of 91.94% cyan, 64.52% magenta, 0% yellow and 27.06% black.
#0f42ba color has a hue of 222.1 degrees, a saturation of 85.07% and a lightness of 39.4%.
#0f42ba hex color contains mainly BLUE.
The closest web safe color of #0f42ba is #0033cc
#0f42ba hex color has a decimal value of 1000122.
HEX | 0f42ba | #0f42ba |
---|---|---|
RGB | 15, 66, 186 | rgb(15, 66, 186) |
RGB Percent | 5.88, 25.88, 72.94 | rgb(5.88, 25.88, 72.94) |
CMYK | 92, 65, 0, 27 | |
HSL | 222.1°, 85.07, 39.4 | hsl(222.1, 85.07%, 39.4%) |
HSV | 222.1°, 91.9, 72.9 |
XYZ | 11.008, 7.543, 47.33 |
---|---|
Hunter Lab | 27.465, 23.481, -82.95 |
CIE-LAB | 33.012, 32.461, -66.999 |
CIE-LCH | 33.012, 74.449, 295.85 |
CIE-LUV | 91.94, 64.52, 0, 27.06 |
Web Safe | 0033cc |
RGB percent of color #0f42ba
CMYK percent of color #0f42ba
Text with hexadecimal color #0f42ba
This text has a font color of #0f42ba
<p style="color:#0f42ba">Text here</p>
#0f42ba Background Color
This box has a background color of #0f42ba
<div style="background-color:#0f42ba">Text here</div>
#0f42ba Border Color
This box has a border color of #0f42ba
<div style="border: 4px solid #0f42ba">Text here</div>
CSS codes
<p style="color:#0f42ba">Text here</p>
<div style="background-color:#0f42ba">Text here</div>
<div style="border: 4px solid #0f42ba">Text here</div>
#0f42ba Color on white background
This is how a font and box color of #0f42ba will look
on a white background.
#0f42ba Color on black background
This is how a font and box color of #0f42ba hex color will look
on a black background.