#2870EC Color Information
Hex color code: #2870EC
The hex color #2870EC is a bold blue with RGB values of (40, 112, 236) and HSL of (218°, 84%, 54%). It is frequently seen in web interfaces.
Shades
color: #2870EC; background-color: #2870EC; border-color: #2870EC; box-shadow: 0 0 10px #2870EC; border: 2px solid #2870EC;
bg-[#2870EC] text-[#2870EC] border-[#2870EC] shadow-[0_0_10px_2870EC]
Generate Gradient
background: linear-gradient(90deg, #2870EC, #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 #2870EC in the color wheel.
RGB, HSL and CMYK Values
RGB
40, 112, 236
Red: 40 / Green: 112 / Blue: 236
HSL
218°, 84%, 54%
Hue: 218° / Saturation: 84% / Lightness: 54%
CMYK
83%, 53%, 0%, 7%
Cyan: 83% / Magenta: 53% / Yellow: 0% / Key: 7%
What color is #2870EC?
#2870EC is a highly saturated hue associated with energy and excitement.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A bold blue tone, #2870EC has RGB (40, 112, 236) and HSL (218°, 84%, 54%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #2870EC is #ECA427, creating high-contrast pairings. For softer combinations, try analogous colors like #27D2EC.
Use #2870EC in CSS: color: #2870EC or background-color: #2870EC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #2870EC
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 #2870EC?
#2870EC is a bold blue color - a highly saturated hue that evokes energy and excitement.
What is the RGB value of #2870EC?
#2870EC in RGB is (40, 112, 236) - 40 red, 112 green, and 236 blue.
How to use #2870EC in CSS?
Use #2870EC directly in your CSS properties like color or background-color.