#0F2B4E - Midnight Ocean
Hex color #0F2B4E is called Midnight Ocean. It consists of 6% red, 17% green, and 31% blue in RGB color space. In CMYK it is 81% cyan, 45% magenta, 0% yellow, and 69% black. In HSL it is 213° hue, 68% saturation, and 18% 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 Ocean | — |
| HEX | #0F2B4E | #0F2B4E |
| HEXA | #0F2B4EFF | #0F2B4EFF |
| RGB | 15, 43, 78 | rgb(15, 43, 78) |
| RGBA | 15, 43, 78, 1 | rgba(15, 43, 78, 1) |
| HSL | 213%, 68%, 18% | hsl(213%, 68%, 18%) |
| CMYK | 81%, 45%, 0%, 69% | cmyk(81%, 45%, 0%, 69%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 18% (dark) | — |
Negative color
The color opposite to #0F2B4E is #F0D4B1.
Preview on black and white
As #0F2B4E has 18% lightness, this color is dark, so it has more contrast with white.
#0F2B4E On White Background
#0F2B4E
#0F2B4E
Text Color
This is how text looks with this color.
#0F2B4E On Black Background
#0F2B4E
#0F2B4E
Text Color
This is how text looks with this color.
Transform color
15, 43, 78rgb(15, 43, 78)