#304189 - Official Violet
Hex color #304189 is called Official Violet. It consists of 19% red, 25% green, and 54% blue in RGB color space. In CMYK it is 65% cyan, 53% magenta, 0% yellow, and 46% black. In HSL it is 229° hue, 48% saturation, and 36% 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 | Official Violet | — |
| HEX | #304189 | #304189 |
| HEXA | #304189FF | #304189FF |
| RGB | 48, 65, 137 | rgb(48, 65, 137) |
| RGBA | 48, 65, 137, 1 | rgba(48, 65, 137, 1) |
| HSL | 229%, 48%, 36% | hsl(229%, 48%, 36%) |
| CMYK | 65%, 53%, 0%, 46% | cmyk(65%, 53%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 36% (dark) | — |
Negative color
The color opposite to #304189 is #CFBE76.
Preview on black and white
As #304189 has 36% lightness, this color is dark, so it has more contrast with white.
#304189 On White Background
#304189
#304189
Text Color
This is how text looks with this color.
#304189 On Black Background
#304189
#304189
Text Color
This is how text looks with this color.
Transform color
48, 65, 137rgb(48, 65, 137)