HSL(249, 49%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,49%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 49%, 52%) | color: hsl(249, 49%, 52%) | |
| HEX | #5B49C1 | color: #5B49C1 | |
| RGB | rgb(91, 73, 193) | color: rgb(91, 73, 193) | |
| CMYK | cmyk(53%, 62%, 0%, 24%) | — | |
| HSV | hsv(249, 62%, 76%) | — | |
| HWB | hwb(249 29% 24%) | color: hwb(249 29% 24%) | |
| OKLCH | oklch(0.4934 0.1797 284.53) | color: oklch(0.4934 0.1797 284.53) | |
| Lab | lab(39.31 39.51 -60.65) | color: lab(39.31 39.51 -60.65) | |
| LCH | lch(39.31 72.38 303.08) | color: lch(39.31 72.38 303.08) |
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)
#5353A4 — rgb(83, 83, 164)
Deuteranopia (Green-blind)
#54569D — rgb(84, 86, 157)
Tritanopia (Blue-blind)
#5A8D88 — rgb(90, 141, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 49%, 52%);
text
color: hsl(249, 49%, 52%);
border
border: 2px solid hsl(249, 49%, 52%);
gradient light
background: linear-gradient(to right, hsl(249, 49%, 72%), hsl(249, 49%, 52%));
gradient dark
background: linear-gradient(to right, hsl(249, 49%, 52%), hsl(249, 49%, 32%))
hex
background-color: #5B49C1;
tailwind
bg-[hsl(249,49%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 49%, 52%, 0.4);
css variable
--color-primary: hsl(249, 49%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 49%, 52%)?
HEX: #5B49C1 | RGB: rgb(91, 73, 193) | CMYK: 53%, 62%, 0%, 24% | HSV: 249°, 62%, 76%. Copy any format from the conversion table above.
What colors go well with #5B49C1?
The complementary color is HSL(69, 49%, 52%). 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%, 52%) in CSS?
As HSL: color: hsl(249, 49%, 52%); — As HEX: color: #5B49C1; — As RGB: color: rgb(91, 73, 193); — Tailwind CSS: bg-[hsl(249,49%,52%)] — CSS variable: --color-primary: hsl(249, 49%, 52%);