HSL(249, 49%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,49%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 49%, 35%) | color: hsl(249, 49%, 35%) | |
| HEX | #3B2E85 | color: #3B2E85 | |
| RGB | rgb(59, 46, 133) | color: rgb(59, 46, 133) | |
| CMYK | cmyk(56%, 65%, 0%, 48%) | — | |
| HSV | hsv(249, 65%, 52%) | — | |
| HWB | hwb(249 18% 48%) | color: hwb(249 18% 48%) | |
| OKLCH | oklch(0.3707 0.1393 284.11) | color: oklch(0.3707 0.1393 284.11) | |
| Lab | lab(25.49 30.86 -47.05) | color: lab(25.49 30.86 -47.05) | |
| LCH | lch(25.49 56.27 303.26) | color: lch(25.49 56.27 303.26) |
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)
#353570 — rgb(53, 53, 112)
Deuteranopia (Green-blind)
#36376B — rgb(54, 55, 107)
Tritanopia (Blue-blind)
#3A5F5C — rgb(58, 95, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 49%, 35%);
text
color: hsl(249, 49%, 35%);
border
border: 2px solid hsl(249, 49%, 35%);
gradient light
background: linear-gradient(to right, hsl(249, 49%, 55%), hsl(249, 49%, 35%));
gradient dark
background: linear-gradient(to right, hsl(249, 49%, 35%), hsl(249, 49%, 15%))
hex
background-color: #3B2E85;
tailwind
bg-[hsl(249,49%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 49%, 35%, 0.4);
css variable
--color-primary: hsl(249, 49%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 49%, 35%)?
HEX: #3B2E85 | RGB: rgb(59, 46, 133) | CMYK: 56%, 65%, 0%, 48% | HSV: 249°, 65%, 52%. Copy any format from the conversion table above.
What colors go well with #3B2E85?
The complementary color is HSL(69, 49%, 35%). 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, 49%, 35%) in CSS?
As HSL: color: hsl(249, 49%, 35%); — As HEX: color: #3B2E85; — As RGB: color: rgb(59, 46, 133); — Tailwind CSS: bg-[hsl(249,49%,35%)] — CSS variable: --color-primary: hsl(249, 49%, 35%);