#212F42 - Imperial Primer
Hex color #212F42 is called Imperial Primer. It consists of 13% red, 18% green, and 26% blue in RGB color space. In CMYK it is 50% cyan, 29% magenta, 0% yellow, and 74% black. In HSL it is 215° hue, 33% 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 | Imperial Primer | — |
| HEX | #212F42 | #212F42 |
| HEXA | #212F42FF | #212F42FF |
| RGB | 33, 47, 66 | rgb(33, 47, 66) |
| RGBA | 33, 47, 66, 1 | rgba(33, 47, 66, 1) |
| HSL | 215%, 33%, 19% | hsl(215%, 33%, 19%) |
| CMYK | 50%, 29%, 0%, 74% | cmyk(50%, 29%, 0%, 74%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 19% (dark) | — |
Negative color
The color opposite to #212F42 is #DED0BD.
Preview on black and white
As #212F42 has 19% lightness, this color is dark, so it has more contrast with white.
#212F42 On White Background
#212F42
#212F42
Text Color
This is how text looks with this color.
#212F42 On Black Background
#212F42
#212F42
Text Color
This is how text looks with this color.
Transform color
33, 47, 66rgb(33, 47, 66)