In RGB color space, #228af2 hex color has a red value of 34, a green value of 138 and a blue value of 242.
In CMYK color space (used in color printing), #228af2 hex color is composed of 85.95% cyan, 42.98% magenta, 0% yellow and 5.1% black.
#228af2 color has a hue of 210 degrees, a saturation of 88.89% and a lightness of 54.1%.
#228af2 hex color contains mainly BLUE.
The closest web safe color of #228af2 is #3399ff
#228af2 hex color has a decimal value of 2263794.
HEX | 228af2 | #228af2 |
---|---|---|
RGB | 34, 138, 242 | rgb(34, 138, 242) |
RGB Percent | 13.33, 54.12, 94.9 | rgb(13.33, 54.12, 94.9) |
CMYK | 86, 43, 0, 5 | |
HSL | 210°, 88.89, 54.1 | hsl(210, 88.89%, 54.1%) |
HSV | 210°, 86, 94.9 |
XYZ | 25.775, 24.928, 87.457 |
---|---|
Hunter Lab | 49.928, 4.776, -68.907 |
CIE-LAB | 57.005, 8.958, -60.041 |
CIE-LCH | 57.005, 60.706, 278.486 |
CIE-LUV | 85.95, 42.98, 0, 5.1 |
Web Safe | 3399ff |
RGB percent of color #228af2
CMYK percent of color #228af2
Text with hexadecimal color #228af2
This text has a font color of #228af2
<p style="color:#228af2">Text here</p>
#228af2 Background Color
This box has a background color of #228af2
<div style="background-color:#228af2">Text here</div>
#228af2 Border Color
This box has a border color of #228af2
<div style="border: 4px solid #228af2">Text here</div>
CSS codes
<p style="color:#228af2">Text here</p>
<div style="background-color:#228af2">Text here</div>
<div style="border: 4px solid #228af2">Text here</div>
#228af2 Color on white background
This is how a font and box color of #228af2 will look
on a white background.
#228af2 Color on black background
This is how a font and box color of #228af2 hex color will look
on a black background.