In RGB color space, #305af2 hex color has a red value of 48, a green value of 90 and a blue value of 242.
In CMYK color space (used in color printing), #305af2 hex color is composed of 80.17% cyan, 62.81% magenta, 0% yellow and 5.1% black.
#305af2 color has a hue of 227 degrees, a saturation of 88.18% and a lightness of 56.9%.
#305af2 hex color contains mainly BLUE.
The closest web safe color of #305af2 is #3366ff
#305af2 hex color has a decimal value of 3169010.
HEX | 305af2 | #305af2 |
---|---|---|
RGB | 48, 90, 242 | rgb(48, 90, 242) |
RGB Percent | 18.82, 35.29, 94.9 | rgb(18.82, 35.29, 94.9) |
CMYK | 80, 63, 0, 5 | |
HSL | 227°, 88.18, 56.9 | hsl(227, 88.18%, 56.9%) |
HSV | 227°, 80.2, 94.9 |
XYZ | 20.902, 14.352, 85.673 |
---|---|
Hunter Lab | 37.884, 32.188, -107.563 |
CIE-LAB | 44.734, 40.018, -79.926 |
CIE-LCH | 44.734, 89.385, 296.597 |
CIE-LUV | 80.17, 62.81, 0, 5.1 |
Web Safe | 3366ff |
RGB percent of color #305af2
CMYK percent of color #305af2
Text with hexadecimal color #305af2
This text has a font color of #305af2
<p style="color:#305af2">Text here</p>
#305af2 Background Color
This box has a background color of #305af2
<div style="background-color:#305af2">Text here</div>
#305af2 Border Color
This box has a border color of #305af2
<div style="border: 4px solid #305af2">Text here</div>
CSS codes
<p style="color:#305af2">Text here</p>
<div style="background-color:#305af2">Text here</div>
<div style="border: 4px solid #305af2">Text here</div>
#305af2 Color on white background
This is how a font and box color of #305af2 will look
on a white background.
#305af2 Color on black background
This is how a font and box color of #305af2 hex color will look
on a black background.