#2C42BA - Denim
Hex color #2C42BA is called Denim. It consists of 17% red, 26% green, and 73% blue in RGB color space. In CMYK it is 76% cyan, 65% magenta, 0% yellow, and 27% black. In HSL it is 231° hue, 62% saturation, and 45% 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 | Denim | — |
| HEX | #2C42BA | #2C42BA |
| HEXA | #2C42BAFF | #2C42BAFF |
| RGB | 44, 66, 186 | rgb(44, 66, 186) |
| RGBA | 44, 66, 186, 1 | rgba(44, 66, 186, 1) |
| HSL | 231%, 62%, 45% | hsl(231%, 62%, 45%) |
| CMYK | 76%, 65%, 0%, 27% | cmyk(76%, 65%, 0%, 27%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 45% (dark) | — |
Negative color
The color opposite to #2C42BA is #D3BD45.
Preview on black and white
As #2C42BA has 45% lightness, this color is dark, so it has more contrast with white.
#2C42BA On White Background
#2C42BA
#2C42BA
Text Color
This is how text looks with this color.
#2C42BA On Black Background
#2C42BA
#2C42BA
Text Color
This is how text looks with this color.
Transform color
44, 66, 186rgb(44, 66, 186)