In RGB color space, #1f5aff hex color has a red value of 31, a green value of 90 and a blue value of 255.
In CMYK color space (used in color printing), #1f5aff hex color is composed of 87.84% cyan, 64.71% magenta, 0% yellow and 0% black.
#1f5aff color has a hue of 224.2 degrees, a saturation of 100% and a lightness of 56.1%.
#1f5aff hex color contains mainly BLUE.
The closest web safe color of #1f5aff is #3366ff
#1f5aff hex color has a decimal value of 2054911.
HEX | 1f5aff | #1f5aff |
---|---|---|
RGB | 31, 90, 255 | rgb(31, 90, 255) |
RGB Percent | 12.16, 35.29, 100 | rgb(12.16, 35.29, 100) |
CMYK | 88, 65, 0, 0 | |
HSL | 224.2°, 100, 56.1 | hsl(224.2, 100%, 56.1%) |
HSV | 224.2°, 87.8, 100 |
XYZ | 22.271, 14.824, 96.295 |
---|---|
Hunter Lab | 38.502, 35.873, -121.335 |
CIE-LAB | 45.392, 43.629, -86.126 |
CIE-LCH | 45.392, 96.546, 296.865 |
CIE-LUV | 87.84, 64.71, 0, 0 |
Web Safe | 3366ff |
RGB percent of color #1f5aff
CMYK percent of color #1f5aff
Text with hexadecimal color #1f5aff
This text has a font color of #1f5aff
<p style="color:#1f5aff">Text here</p>
#1f5aff Background Color
This box has a background color of #1f5aff
<div style="background-color:#1f5aff">Text here</div>
#1f5aff Border Color
This box has a border color of #1f5aff
<div style="border: 4px solid #1f5aff">Text here</div>
CSS codes
<p style="color:#1f5aff">Text here</p>
<div style="background-color:#1f5aff">Text here</div>
<div style="border: 4px solid #1f5aff">Text here</div>
#1f5aff Color on white background
This is how a font and box color of #1f5aff will look
on a white background.
#1f5aff Color on black background
This is how a font and box color of #1f5aff hex color will look
on a black background.