In RGB color space, #1228a8 hex color has a red value of 18, a green value of 40 and a blue value of 168.
In CMYK color space (used in color printing), #1228a8 hex color is composed of 89.29% cyan, 76.19% magenta, 0% yellow and 34.12% black.
#1228a8 color has a hue of 231.2 degrees, a saturation of 80.65% and a lightness of 36.5%.
#1228a8 hex color contains mainly BLUE.
The closest web safe color of #1228a8 is #003399
#1228a8 hex color has a decimal value of 1190056.
HEX | 1228a8 | #1228a8 |
---|---|---|
RGB | 18, 40, 168 | rgb(18, 40, 168) |
RGB Percent | 7.06, 15.69, 65.88 | rgb(7.06, 15.69, 65.88) |
CMYK | 89, 76, 0, 34 | |
HSL | 231.2°, 80.65, 36.5 | hsl(231.2, 80.65%, 36.5%) |
HSV | 231.2°, 89.3, 65.9 |
XYZ | 8.076, 4.473, 37.484 |
---|---|
Hunter Lab | 21.149, 31.149, -90.277 |
CIE-LAB | 25.177, 42.326, -69.176 |
CIE-LCH | 25.177, 81.098, 301.461 |
CIE-LUV | 89.29, 76.19, 0, 34.12 |
Web Safe | 003399 |
RGB percent of color #1228a8
CMYK percent of color #1228a8
Text with hexadecimal color #1228a8
This text has a font color of #1228a8
<p style="color:#1228a8">Text here</p>
#1228a8 Background Color
This box has a background color of #1228a8
<div style="background-color:#1228a8">Text here</div>
#1228a8 Border Color
This box has a border color of #1228a8
<div style="border: 4px solid #1228a8">Text here</div>
CSS codes
<p style="color:#1228a8">Text here</p>
<div style="background-color:#1228a8">Text here</div>
<div style="border: 4px solid #1228a8">Text here</div>
#1228a8 Color on white background
This is how a font and box color of #1228a8 will look
on a white background.
#1228a8 Color on black background
This is how a font and box color of #1228a8 hex color will look
on a black background.