HSL(249, 55%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,55%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 55%, 34%) | color: hsl(249, 55%, 34%) | |
| HEX | #352786 | color: #352786 | |
| RGB | rgb(53, 39, 134) | color: rgb(53, 39, 134) | |
| CMYK | cmyk(60%, 71%, 0%, 47%) | — | |
| HSV | hsv(249, 71%, 53%) | — | |
| HWB | hwb(249 15% 47%) | color: hwb(249 15% 47%) | |
| OKLCH | oklch(0.3548 0.1505 282.25) | color: oklch(0.3548 0.1505 282.25) | |
| Lab | lab(23.43 34.45 -51.06) | color: lab(23.43 34.45 -51.06) | |
| LCH | lch(23.43 61.59 304.01) | color: lch(23.43 61.59 304.01) |
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)
#2F2F6F — rgb(47, 47, 111)
Deuteranopia (Green-blind)
#30316A — rgb(48, 49, 106)
Tritanopia (Blue-blind)
#345D59 — rgb(52, 93, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 55%, 34%);
text
color: hsl(249, 55%, 34%);
border
border: 2px solid hsl(249, 55%, 34%);
gradient light
background: linear-gradient(to right, hsl(249, 55%, 54%), hsl(249, 55%, 34%));
gradient dark
background: linear-gradient(to right, hsl(249, 55%, 34%), hsl(249, 55%, 14%))
hex
background-color: #352786;
tailwind
bg-[hsl(249,55%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 55%, 34%, 0.4);
css variable
--color-primary: hsl(249, 55%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 55%, 34%)?
HEX: #352786 | RGB: rgb(53, 39, 134) | CMYK: 60%, 71%, 0%, 47% | HSV: 249°, 71%, 53%. Copy any format from the conversion table above.
What colors go well with #352786?
The complementary color is HSL(69, 55%, 34%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 55%, 34%) in CSS?
As HSL: color: hsl(249, 55%, 34%); — As HEX: color: #352786; — As RGB: color: rgb(53, 39, 134); — Tailwind CSS: bg-[hsl(249,55%,34%)] — CSS variable: --color-primary: hsl(249, 55%, 34%);