In RGB color space, #0228a2 hex color has a red value of 2, a green value of 40 and a blue value of 162.
In CMYK color space (used in color printing), #0228a2 hex color is composed of 98.77% cyan, 75.31% magenta, 0% yellow and 36.47% black.
#0228a2 color has a hue of 225.8 degrees, a saturation of 97.56% and a lightness of 32.2%.
#0228a2 hex color contains mainly BLUE.
The closest web safe color of #0228a2 is #003399
#0228a2 hex color has a decimal value of 141474.
HEX | 0228a2 | #0228a2 |
---|---|---|
RGB | 2, 40, 162 | rgb(2, 40, 162) |
RGB Percent | 0.78, 15.69, 63.53 | rgb(0.78, 15.69, 63.53) |
CMYK | 99, 75, 0, 36 | |
HSL | 225.8°, 97.56, 32.2 | hsl(225.8, 97.56%, 32.2%) |
HSV | 225.8°, 98.8, 63.5 |
XYZ | 7.305, 4.139, 34.596 |
---|---|
Hunter Lab | 20.345, 28.49, -86.582 |
CIE-LAB | 24.126, 39.628, -67.292 |
CIE-LCH | 24.126, 78.093, 300.494 |
CIE-LUV | 98.77, 75.31, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #0228a2
CMYK percent of color #0228a2
Text with hexadecimal color #0228a2
This text has a font color of #0228a2
<p style="color:#0228a2">Text here</p>
#0228a2 Background Color
This box has a background color of #0228a2
<div style="background-color:#0228a2">Text here</div>
#0228a2 Border Color
This box has a border color of #0228a2
<div style="border: 4px solid #0228a2">Text here</div>
CSS codes
<p style="color:#0228a2">Text here</p>
<div style="background-color:#0228a2">Text here</div>
<div style="border: 4px solid #0228a2">Text here</div>
#0228a2 Color on white background
This is how a font and box color of #0228a2 will look
on a white background.
#0228a2 Color on black background
This is how a font and box color of #0228a2 hex color will look
on a black background.