#281F47 - Midnight Velvet
Hex color #281F47 is called Midnight Velvet. It consists of 16% red, 12% green, and 28% blue in RGB color space. In CMYK it is 44% cyan, 56% magenta, 0% yellow, and 72% black. In HSL it is 254° hue, 39% 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 Velvet | — |
| HEX | #281F47 | #281F47 |
| HEXA | #281F47FF | #281F47FF |
| RGB | 40, 31, 71 | rgb(40, 31, 71) |
| RGBA | 40, 31, 71, 1 | rgba(40, 31, 71, 1) |
| HSL | 254%, 39%, 20% | hsl(254%, 39%, 20%) |
| CMYK | 44%, 56%, 0%, 72% | cmyk(44%, 56%, 0%, 72%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 20% (dark) | — |
Negative color
The color opposite to #281F47 is #D7E0B8.
Preview on black and white
As #281F47 has 20% lightness, this color is dark, so it has more contrast with white.
#281F47 On White Background
#281F47
#281F47
Text Color
This is how text looks with this color.
#281F47 On Black Background
#281F47
#281F47
Text Color
This is how text looks with this color.
Transform color
40, 31, 71rgb(40, 31, 71)