#0C2D4C - Midnight Ocean
Hex color #0C2D4C is called Midnight Ocean. It consists of 5% red, 18% green, and 30% blue in RGB color space. In CMYK it is 84% cyan, 41% magenta, 0% yellow, and 70% black. In HSL it is 209° hue, 73% saturation, and 17% 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 | #0C2D4C | #0C2D4C |
| HEXA | #0C2D4CFF | #0C2D4CFF |
| RGB | 12, 45, 76 | rgb(12, 45, 76) |
| RGBA | 12, 45, 76, 1 | rgba(12, 45, 76, 1) |
| HSL | 209%, 73%, 17% | hsl(209%, 73%, 17%) |
| CMYK | 84%, 41%, 0%, 70% | cmyk(84%, 41%, 0%, 70%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 17% (dark) | — |
Negative color
The color opposite to #0C2D4C is #F3D2B3.
Preview on black and white
As #0C2D4C has 17% lightness, this color is dark, so it has more contrast with white.
#0C2D4C On White Background
#0C2D4C
#0C2D4C
Text Color
This is how text looks with this color.
#0C2D4C On Black Background
#0C2D4C
#0C2D4C
Text Color
This is how text looks with this color.
Transform color
12, 45, 76rgb(12, 45, 76)