#152B4F - Midnight Ocean
Hex color #152B4F is called Midnight Ocean. It consists of 8% red, 17% green, and 31% blue in RGB color space. In CMYK it is 73% cyan, 46% magenta, 0% yellow, and 69% black. In HSL it is 217° hue, 58% saturation, and 20% 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 | #152B4F | #152B4F |
| HEXA | #152B4FFF | #152B4FFF |
| RGB | 21, 43, 79 | rgb(21, 43, 79) |
| RGBA | 21, 43, 79, 1 | rgba(21, 43, 79, 1) |
| HSL | 217%, 58%, 20% | hsl(217%, 58%, 20%) |
| CMYK | 73%, 46%, 0%, 69% | cmyk(73%, 46%, 0%, 69%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 20% (dark) | — |
Negative color
The color opposite to #152B4F is #EAD4B0.
Preview on black and white
As #152B4F has 20% lightness, this color is dark, so it has more contrast with white.
#152B4F On White Background
#152B4F
#152B4F
Text Color
This is how text looks with this color.
#152B4F On Black Background
#152B4F
#152B4F
Text Color
This is how text looks with this color.
Transform color
21, 43, 79rgb(21, 43, 79)