#0F227F - Midnight Crest
Hex color #0F227F is called Midnight Crest. It consists of 6% red, 13% green, and 50% blue in RGB color space. In CMYK it is 88% cyan, 73% magenta, 0% yellow, and 50% black. In HSL it is 230° hue, 79% saturation, and 28% 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 | #0F227F | #0F227F |
| HEXA | #0F227FFF | #0F227FFF |
| RGB | 15, 34, 127 | rgb(15, 34, 127) |
| RGBA | 15, 34, 127, 1 | rgba(15, 34, 127, 1) |
| HSL | 230%, 79%, 28% | hsl(230%, 79%, 28%) |
| CMYK | 88%, 73%, 0%, 50% | cmyk(88%, 73%, 0%, 50%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 28% (dark) | — |
Negative color
The color opposite to #0F227F is #F0DD80.
Preview on black and white
As #0F227F has 28% lightness, this color is dark, so it has more contrast with white.
#0F227F On White Background
#0F227F
#0F227F
Text Color
This is how text looks with this color.
#0F227F On Black Background
#0F227F
#0F227F
Text Color
This is how text looks with this color.
Transform color
15, 34, 127rgb(15, 34, 127)