#12254D - Midnight Ocean
Hex color #12254D is called Midnight Ocean. It consists of 7% red, 15% green, and 30% blue in RGB color space. In CMYK it is 77% cyan, 52% magenta, 0% yellow, and 70% black. In HSL it is 221° hue, 62% saturation, and 19% 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 | #12254D | #12254D |
| HEXA | #12254DFF | #12254DFF |
| RGB | 18, 37, 77 | rgb(18, 37, 77) |
| RGBA | 18, 37, 77, 1 | rgba(18, 37, 77, 1) |
| HSL | 221%, 62%, 19% | hsl(221%, 62%, 19%) |
| CMYK | 77%, 52%, 0%, 70% | cmyk(77%, 52%, 0%, 70%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 19% (dark) | — |
Negative color
The color opposite to #12254D is #EDDAB2.
Preview on black and white
As #12254D has 19% lightness, this color is dark, so it has more contrast with white.
#12254D On White Background
#12254D
#12254D
Text Color
This is how text looks with this color.
#12254D On Black Background
#12254D
#12254D
Text Color
This is how text looks with this color.
Transform color
18, 37, 77rgb(18, 37, 77)