HSL(249, 92%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,92%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 92%, 61%) | color: hsl(249, 92%, 61%) | |
| HEX | #5C40F7 | color: #5C40F7 | |
| RGB | rgb(92, 64, 247) | color: rgb(92, 64, 247) | |
| CMYK | cmyk(63%, 74%, 0%, 3%) | — | |
| HSV | hsv(249, 74%, 97%) | — | |
| HWB | hwb(249 25% 3%) | color: hwb(249 25% 3%) | |
| OKLCH | oklch(0.5288 0.2543 280.16) | color: oklch(0.5288 0.2543 280.16) | |
| Lab | lab(42.24 60.68 -86.73) | color: lab(42.24 60.68 -86.73) | |
| LCH | lch(42.24 105.85 304.98) | color: lch(42.24 105.85 304.98) |
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)
#5050CB — rgb(80, 80, 203)
Deuteranopia (Green-blind)
#5254C0 — rgb(82, 84, 192)
Tritanopia (Blue-blind)
#5BA8A0 — rgb(91, 168, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 92%, 61%);
text
color: hsl(249, 92%, 61%);
border
border: 2px solid hsl(249, 92%, 61%);
gradient light
background: linear-gradient(to right, hsl(249, 92%, 81%), hsl(249, 92%, 61%));
gradient dark
background: linear-gradient(to right, hsl(249, 92%, 61%), hsl(249, 92%, 41%))
hex
background-color: #5C40F7;
tailwind
bg-[hsl(249,92%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 92%, 61%, 0.4);
css variable
--color-primary: hsl(249, 92%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 92%, 61%)?
HEX: #5C40F7 | RGB: rgb(92, 64, 247) | CMYK: 63%, 74%, 0%, 3% | HSV: 249°, 74%, 97%. Copy any format from the conversion table above.
What colors go well with #5C40F7?
The complementary color is HSL(69, 92%, 61%). 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, 92%, 61%) in CSS?
As HSL: color: hsl(249, 92%, 61%); — As HEX: color: #5C40F7; — As RGB: color: rgb(92, 64, 247); — Tailwind CSS: bg-[hsl(249,92%,61%)] — CSS variable: --color-primary: hsl(249, 92%, 61%);