#040C85 - Yearning
Hex color #040C85 is called Yearning. It consists of 2% red, 5% green, and 52% blue in RGB color space. In CMYK it is 97% cyan, 91% magenta, 0% yellow, and 48% black. In HSL it is 236° hue, 94% saturation, and 27% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Yearning | — |
| HEX | #040C85 | #040C85 |
| HEXA | #040C85FF | #040C85FF |
| RGB | 4, 12, 133 | rgb(4, 12, 133) |
| RGBA | 4, 12, 133, 1 | rgba(4, 12, 133, 1) |
| HSL | 236%, 94%, 27% | hsl(236%, 94%, 27%) |
| CMYK | 97%, 91%, 0%, 48% | cmyk(97%, 91%, 0%, 48%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 27% (dark) | — |
Negative color
The color opposite to #040C85 is #FBF37A.
Preview on black and white
As #040C85 has 27% lightness, this color is dark, so it has more contrast with white.
#040C85 On White Background
#040C85
#040C85
Text Color
This is how text looks with this color.
#040C85 On Black Background
#040C85
#040C85
Text Color
This is how text looks with this color.
Transform color
4, 12, 133rgb(4, 12, 133)