HSL(247, 50%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,50%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 50%, 34%) | color: hsl(247, 50%, 34%) | |
| HEX | #352B82 | color: #352B82 | |
| RGB | rgb(53, 43, 130) | color: rgb(53, 43, 130) | |
| CMYK | cmyk(59%, 67%, 0%, 49%) | — | |
| HSV | hsv(247, 67%, 51%) | — | |
| HWB | hwb(247 17% 49%) | color: hwb(247 17% 49%) | |
| OKLCH | oklch(0.3576 0.14 281.87) | color: oklch(0.3576 0.14 281.87) | |
| Lab | lab(23.99 30.64 -47.65) | color: lab(23.99 30.64 -47.65) | |
| LCH | lch(23.99 56.65 302.74) | color: lch(23.99 56.65 302.74) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#31316D — rgb(49, 49, 109)
Deuteranopia (Green-blind)
#313268 — rgb(49, 50, 104)
Tritanopia (Blue-blind)
#355C59 — rgb(53, 92, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 50%, 34%);
text
color: hsl(247, 50%, 34%);
border
border: 2px solid hsl(247, 50%, 34%);
gradient light
background: linear-gradient(to right, hsl(247, 50%, 54%), hsl(247, 50%, 34%));
gradient dark
background: linear-gradient(to right, hsl(247, 50%, 34%), hsl(247, 50%, 14%))
hex
background-color: #352B82;
tailwind
bg-[hsl(247,50%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 50%, 34%, 0.4);
css variable
--color-primary: hsl(247, 50%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 50%, 34%)?
HEX: #352B82 | RGB: rgb(53, 43, 130) | CMYK: 59%, 67%, 0%, 49% | HSV: 247°, 67%, 51%. Copy any format from the conversion table above.
What colors go well with #352B82?
The complementary color is HSL(67, 50%, 34%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 50%, 34%) in CSS?
As HSL: color: hsl(247, 50%, 34%); — As HEX: color: #352B82; — As RGB: color: rgb(53, 43, 130); — Tailwind CSS: bg-[hsl(247,50%,34%)] — CSS variable: --color-primary: hsl(247, 50%, 34%);