#12284B - Midnight Ocean
Hex color #12284B is called Midnight Ocean. It consists of 7% red, 16% green, and 29% blue in RGB color space. In CMYK it is 76% cyan, 47% magenta, 0% yellow, and 71% black. In HSL it is 217° hue, 61% 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 | #12284B | #12284B |
| HEXA | #12284BFF | #12284BFF |
| RGB | 18, 40, 75 | rgb(18, 40, 75) |
| RGBA | 18, 40, 75, 1 | rgba(18, 40, 75, 1) |
| HSL | 217%, 61%, 18% | hsl(217%, 61%, 18%) |
| CMYK | 76%, 47%, 0%, 71% | cmyk(76%, 47%, 0%, 71%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 18% (dark) | — |
Negative color
The color opposite to #12284B is #EDD7B4.
Preview on black and white
As #12284B has 18% lightness, this color is dark, so it has more contrast with white.
#12284B On White Background
#12284B
#12284B
Text Color
This is how text looks with this color.
#12284B On Black Background
#12284B
#12284B
Text Color
This is how text looks with this color.
Transform color
18, 40, 75rgb(18, 40, 75)