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