#5156EC Color Information
Hex color code: #5156EC
#5156EC is a dynamic blue color. In RGB it is (81, 86, 236), and in HSL it is (238°, 80%, 62%). It is typically applied in digital products.
Shades
color: #5156EC; background-color: #5156EC; border-color: #5156EC; box-shadow: 0 0 10px #5156EC; border: 2px solid #5156EC;
bg-[#5156EC] text-[#5156EC] border-[#5156EC] shadow-[0_0_10px_5156EC]
Generate Gradient
background: linear-gradient(90deg, #5156EC, #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 #5156EC in the color wheel.
RGB, HSL and CMYK Values
RGB
81, 86, 236
Red: 81 / Green: 86 / Blue: 236
HSL
238°, 80%, 62%
Hue: 238° / Saturation: 80% / Lightness: 62%
CMYK
66%, 64%, 0%, 7%
Cyan: 66% / Magenta: 64% / Yellow: 0% / Key: 7%
What color is #5156EC?
#5156EC is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#5156EC is a eye-catching blue color with RGB values of 81, 86, 236 and HSL of 238°, 80%, 62%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #5156EC is #ECE651, creating high-contrast pairings. For softer combinations, try analogous colors like #51A3EC.
Use #5156EC in CSS: color: #5156EC or background-color: #5156EC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #5156EC
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 #5156EC?
#5156EC is a eye-catching blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #5156EC?
#5156EC in RGB is (81, 86, 236) - 81 red, 86 green, and 236 blue.
How to use #5156EC in CSS?
Use #5156EC directly in your CSS properties like color or background-color.