HSL(248, 29%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,29%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 29%, 29%) | color: hsl(248, 29%, 29%) | |
| HEX | #3A355F | color: #3A355F | |
| RGB | rgb(58, 53, 95) | color: rgb(58, 53, 95) | |
| CMYK | cmyk(39%, 44%, 0%, 63%) | — | |
| HSV | hsv(247, 44%, 37%) | — | |
| HWB | hwb(247 21% 63%) | color: hwb(247 21% 63%) | |
| OKLCH | oklch(0.3549 0.0717 287.62) | color: oklch(0.3549 0.0717 287.62) | |
| Lab | lab(24.55 13.59 -24.3) | color: lab(24.55 13.59 -24.3) | |
| LCH | lch(24.55 27.84 299.22) | color: lch(24.55 27.84 299.22) |
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)
#383855 — rgb(56, 56, 85)
Deuteranopia (Green-blind)
#383952 — rgb(56, 57, 82)
Tritanopia (Blue-blind)
#3A4D4B — rgb(58, 77, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 29%, 29%);
text
color: hsl(248, 29%, 29%);
border
border: 2px solid hsl(248, 29%, 29%);
gradient light
background: linear-gradient(to right, hsl(248, 29%, 49%), hsl(248, 29%, 29%));
gradient dark
background: linear-gradient(to right, hsl(248, 29%, 29%), hsl(248, 29%, 9%))
hex
background-color: #3A355F;
tailwind
bg-[hsl(248,29%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 29%, 29%, 0.4);
css variable
--color-primary: hsl(248, 29%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 29%, 29%)?
HEX: #3A355F | RGB: rgb(58, 53, 95) | CMYK: 39%, 44%, 0%, 63% | HSV: 247°, 44%, 37%. Copy any format from the conversion table above.
What colors go well with #3A355F?
The complementary color is HSL(68, 29%, 29%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 29%, 29%) in CSS?
As HSL: color: hsl(248, 29%, 29%); — As HEX: color: #3A355F; — As RGB: color: rgb(58, 53, 95); — Tailwind CSS: bg-[hsl(248,29%,29%)] — CSS variable: --color-primary: hsl(248, 29%, 29%);