In RGB color space, #2a5f94 hex color has a red value of 42, a green value of 95 and a blue value of 148.
In CMYK color space (used in color printing), #2a5f94 hex color is composed of 71.62% cyan, 35.81% magenta, 0% yellow and 41.96% black.
#2a5f94 color has a hue of 210 degrees, a saturation of 55.79% and a lightness of 37.3%.
#2a5f94 hex color contains mainly BLUE.
The closest web safe color of #2a5f94 is #336699
#2a5f94 hex color has a decimal value of 2776980.
HEX | 2a5f94 | #2a5f94 |
---|---|---|
RGB | 42, 95, 148 | rgb(42, 95, 148) |
RGB Percent | 16.47, 37.25, 58.04 | rgb(16.47, 37.25, 58.04) |
CMYK | 72, 36, 0, 42 | |
HSL | 210°, 55.79, 37.3 | hsl(210, 55.79%, 37.3%) |
HSV | 210°, 71.6, 58 |
XYZ | 10.392, 10.815, 29.557 |
---|---|
Hunter Lab | 32.886, -1.145, -30.268 |
CIE-LAB | 39.267, 0.867, -34.21 |
CIE-LCH | 39.267, 34.221, 271.452 |
CIE-LUV | 71.62, 35.81, 0, 41.96 |
Web Safe | 336699 |
RGB percent of color #2a5f94
CMYK percent of color #2a5f94
Text with hexadecimal color #2a5f94
This text has a font color of #2a5f94
<p style="color:#2a5f94">Text here</p>
#2a5f94 Background Color
This box has a background color of #2a5f94
<div style="background-color:#2a5f94">Text here</div>
#2a5f94 Border Color
This box has a border color of #2a5f94
<div style="border: 4px solid #2a5f94">Text here</div>
CSS codes
<p style="color:#2a5f94">Text here</p>
<div style="background-color:#2a5f94">Text here</div>
<div style="border: 4px solid #2a5f94">Text here</div>
#2a5f94 Color on white background
This is how a font and box color of #2a5f94 will look
on a white background.
#2a5f94 Color on black background
This is how a font and box color of #2a5f94 hex color will look
on a black background.