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