#2222EC Color Information
Hex color code: #2222EC
A dynamic blue shade, #2222EC appears as (34, 34, 236) in RGB and (240°, 84%, 53%) in HSL. It is typically applied in digital products.
Shades
color: #2222EC; background-color: #2222EC; border-color: #2222EC; box-shadow: 0 0 10px #2222EC; border: 2px solid #2222EC;
bg-[#2222EC] text-[#2222EC] border-[#2222EC] shadow-[0_0_10px_2222EC]
Generate Gradient
background: linear-gradient(90deg, #2222EC, #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 #2222EC in the color wheel.
RGB, HSL and CMYK Values
RGB
34, 34, 236
Red: 34 / Green: 34 / Blue: 236
HSL
240°, 84%, 53%
Hue: 240° / Saturation: 84% / Lightness: 53%
CMYK
86%, 86%, 0%, 7%
Cyan: 86% / Magenta: 86% / Yellow: 0% / Key: 7%
What color is #2222EC?
#2222EC is a highly saturated hue associated with energy and excitement.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A vivid blue tone, #2222EC has RGB (34, 34, 236) and HSL (240°, 84%, 53%). Known for evoking energy and excitement, this highly saturated hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #2222EC is #ECEC22, creating high-contrast pairings. For softer combinations, try analogous colors like #2287EC.
Use #2222EC in CSS: color: #2222EC or background-color: #2222EC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #2222EC
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 #2222EC?
#2222EC is a vivid blue color - a highly saturated hue that evokes energy and excitement.
What is the RGB value of #2222EC?
#2222EC in RGB is (34, 34, 236) - 34 red, 34 green, and 236 blue.
How to use #2222EC in CSS?
Use #2222EC directly in your CSS properties like color or background-color.