#3871B2 Color Information
Hex color code: #3871B2
A peaceful blue shade, #3871B2 appears as (56, 113, 178) in RGB and (212°, 52%, 46%) in HSL. It is typically applied in digital products.
Shades
color: #3871B2; background-color: #3871B2; border-color: #3871B2; box-shadow: 0 0 10px #3871B2; border: 2px solid #3871B2;
bg-[#3871B2] text-[#3871B2] border-[#3871B2] shadow-[0_0_10px_3871B2]
Generate Gradient
background: linear-gradient(90deg, #3871B2, #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 #3871B2 in the color wheel.
RGB, HSL and CMYK Values
RGB
56, 113, 178
Red: 56 / Green: 113 / Blue: 178
HSL
212°, 52%, 46%
Hue: 212° / Saturation: 52% / Lightness: 46%
CMYK
69%, 37%, 0%, 30%
Cyan: 69% / Magenta: 37% / Yellow: 0% / Key: 30%
What color is #3871B2?
#3871B2 is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#3871B2 is a cool blue color with RGB values of 56, 113, 178 and HSL of 212°, 52%, 46%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #3871B2 is #B27938, creating high-contrast pairings. For softer combinations, try analogous colors like #38AEB2.
Use #3871B2 in CSS: color: #3871B2 or background-color: #3871B2. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #3871B2
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 #3871B2?
#3871B2 is a cool blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #3871B2?
#3871B2 in RGB is (56, 113, 178) - 56 red, 113 green, and 178 blue.
How to use #3871B2 in CSS?
Use #3871B2 directly in your CSS properties like color or background-color.