#271D46 - Midnight Velvet
Hex color #271D46 is called Midnight Velvet. It consists of 15% red, 11% green, and 27% blue in RGB color space. In CMYK it is 44% cyan, 59% magenta, 0% yellow, and 73% black. In HSL it is 255° hue, 41% 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 Velvet | — |
| HEX | #271D46 | #271D46 |
| HEXA | #271D46FF | #271D46FF |
| RGB | 39, 29, 70 | rgb(39, 29, 70) |
| RGBA | 39, 29, 70, 1 | rgba(39, 29, 70, 1) |
| HSL | 255%, 41%, 19% | hsl(255%, 41%, 19%) |
| CMYK | 44%, 59%, 0%, 73% | cmyk(44%, 59%, 0%, 73%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 19% (dark) | — |
Negative color
The color opposite to #271D46 is #D8E2B9.
Preview on black and white
As #271D46 has 19% lightness, this color is dark, so it has more contrast with white.
#271D46 On White Background
#271D46
#271D46
Text Color
This is how text looks with this color.
#271D46 On Black Background
#271D46
#271D46
Text Color
This is how text looks with this color.
Transform color
39, 29, 70rgb(39, 29, 70)