#0F2870 - Midnight Crest
Hex color #0F2870 is called Midnight Crest. It consists of 6% red, 16% green, and 44% blue in RGB color space. In CMYK it is 87% cyan, 64% magenta, 0% yellow, and 56% black. In HSL it is 225° hue, 76% saturation, and 25% 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 | Midnight Crest | — |
| HEX | #0F2870 | #0F2870 |
| HEXA | #0F2870FF | #0F2870FF |
| RGB | 15, 40, 112 | rgb(15, 40, 112) |
| RGBA | 15, 40, 112, 1 | rgba(15, 40, 112, 1) |
| HSL | 225%, 76%, 25% | hsl(225%, 76%, 25%) |
| CMYK | 87%, 64%, 0%, 56% | cmyk(87%, 64%, 0%, 56%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #0F2870 is #F0D78F.
Preview on black and white
As #0F2870 has 25% lightness, this color is dark, so it has more contrast with white.
#0F2870 On White Background
#0F2870
#0F2870
Text Color
This is how text looks with this color.
#0F2870 On Black Background
#0F2870
#0F2870
Text Color
This is how text looks with this color.
Transform color
15, 40, 112rgb(15, 40, 112)