#2A7CEF Color Information
Hex color code: #2A7CEF
A bold blue shade, #2A7CEF appears as (42, 124, 239) in RGB and (215°, 86%, 55%) in HSL. It is frequently seen in web interfaces.
Shades
color: #2A7CEF; background-color: #2A7CEF; border-color: #2A7CEF; box-shadow: 0 0 10px #2A7CEF; border: 2px solid #2A7CEF;
bg-[#2A7CEF] text-[#2A7CEF] border-[#2A7CEF] shadow-[0_0_10px_2A7CEF]
Generate Gradient
background: linear-gradient(90deg, #2A7CEF, #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 #2A7CEF in the color wheel.
RGB, HSL and CMYK Values
RGB
42, 124, 239
Red: 42 / Green: 124 / Blue: 239
HSL
215°, 86%, 55%
Hue: 215° / Saturation: 86% / Lightness: 55%
CMYK
82%, 48%, 0%, 6%
Cyan: 82% / Magenta: 48% / Yellow: 0% / Key: 6%
What color is #2A7CEF?
#2A7CEF is a highly saturated hue associated with energy and excitement.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#2A7CEF is a eye-catching blue color with RGB values of 42, 124, 239 and HSL of 215°, 86%, 55%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #2A7CEF is #EF9D2A, creating high-contrast pairings. For softer combinations, try analogous colors like #2ADEEF.
Use #2A7CEF in CSS: color: #2A7CEF or background-color: #2A7CEF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #2A7CEF
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 #2A7CEF?
#2A7CEF is a eye-catching blue color - a highly saturated hue that evokes energy and excitement.
What is the RGB value of #2A7CEF?
#2A7CEF in RGB is (42, 124, 239) - 42 red, 124 green, and 239 blue.
How to use #2A7CEF in CSS?
Use #2A7CEF directly in your CSS properties like color or background-color.