#5040CF Color Information
Hex color code: #5040CF
The hex color #5040CF is a cool blue with RGB values of (80, 64, 207) and HSL of (247°, 60%, 53%). It is commonly used in modern UI design.
Shades
color: #5040CF; background-color: #5040CF; border-color: #5040CF; box-shadow: 0 0 10px #5040CF; border: 2px solid #5040CF;
bg-[#5040CF] text-[#5040CF] border-[#5040CF] shadow-[0_0_10px_5040CF]
Generate Gradient
background: linear-gradient(90deg, #5040CF, #FF5733);
Preview in UI
Button
Badge
Text Highlight
The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.
Card
Card Title
This card uses your color as a border accent.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #5040CF in the color wheel.
RGB, HSL and CMYK Values
RGB
80, 64, 207
Red: 80 / Green: 64 / Blue: 207
HSL
247°, 60%, 53%
Hue: 247° / Saturation: 60% / Lightness: 53%
CMYK
61%, 69%, 0%, 19%
Cyan: 61% / Magenta: 69% / Yellow: 0% / Key: 19%
What color is #5040CF?
#5040CF is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A calming blue tone, #5040CF has RGB (80, 64, 207) and HSL (247°, 60%, 53%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #5040CF is #BECF3F, creating high-contrast pairings. For softer combinations, try analogous colors like #3F76CF.
Use #5040CF in CSS: color: #5040CF or background-color: #5040CF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #5040CF
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #5040CF?
#5040CF is a calming blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #5040CF?
#5040CF in RGB is (80, 64, 207) - 80 red, 64 green, and 207 blue.
How to use #5040CF in CSS?
Use #5040CF directly in your CSS properties like color or background-color.