#342F8E Color Information
Hex color code: #342F8E
A tranquil blue shade, #342F8E appears as (52, 47, 142) in RGB and (243°, 50%, 37%) in HSL. It is popular in mobile app design.
Shades
color: #342F8E; background-color: #342F8E; border-color: #342F8E; box-shadow: 0 0 10px #342F8E; border: 2px solid #342F8E;
bg-[#342F8E] text-[#342F8E] border-[#342F8E] shadow-[0_0_10px_342F8E]
Generate Gradient
background: linear-gradient(90deg, #342F8E, #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 #342F8E in the color wheel.
RGB, HSL and CMYK Values
RGB
52, 47, 142
Red: 52 / Green: 47 / Blue: 142
HSL
243°, 50%, 37%
Hue: 243° / Saturation: 50% / Lightness: 37%
CMYK
63%, 67%, 0%, 44%
Cyan: 63% / Magenta: 67% / Yellow: 0% / Key: 44%
What color is #342F8E?
#342F8E is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#342F8E is a calming blue color with RGB values of 52, 47, 142 and HSL of 243°, 50%, 37%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #342F8E is #898E2F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F5A8E.
Use #342F8E in CSS: color: #342F8E or background-color: #342F8E. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #342F8E
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 #342F8E?
#342F8E is a calming blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #342F8E?
#342F8E in RGB is (52, 47, 142) - 52 red, 47 green, and 142 blue.
How to use #342F8E in CSS?
Use #342F8E directly in your CSS properties like color or background-color.