#2A40B3 - Denim
Hex color #2A40B3 is called Denim. It consists of 16% red, 25% green, and 70% blue in RGB color space. In CMYK it is 77% cyan, 64% magenta, 0% yellow, and 30% black. In HSL it is 230° hue, 62% saturation, and 43% 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 | #2A40B3 | #2A40B3 |
| HEXA | #2A40B3FF | #2A40B3FF |
| RGB | 42, 64, 179 | rgb(42, 64, 179) |
| RGBA | 42, 64, 179, 1 | rgba(42, 64, 179, 1) |
| HSL | 230%, 62%, 43% | hsl(230%, 62%, 43%) |
| CMYK | 77%, 64%, 0%, 30% | cmyk(77%, 64%, 0%, 30%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 43% (dark) | — |
Negative color
The color opposite to #2A40B3 is #D5BF4C.
Preview on black and white
As #2A40B3 has 43% lightness, this color is dark, so it has more contrast with white.
#2A40B3 On White Background
#2A40B3
#2A40B3
Text Color
This is how text looks with this color.
#2A40B3 On Black Background
#2A40B3
#2A40B3
Text Color
This is how text looks with this color.
Transform color
42, 64, 179rgb(42, 64, 179)