HSL(247, 68%, 58%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,68%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 68%, 58%) | color: hsl(247, 68%, 58%) | |
| HEX | #5C4BDD | color: #5C4BDD | |
| RGB | rgb(92, 75, 221) | color: rgb(92, 75, 221) | |
| CMYK | cmyk(58%, 66%, 0%, 13%) | — | |
| HSV | hsv(247, 66%, 87%) | — | |
| HWB | hwb(247 30% 13%) | color: hwb(247 30% 13%) | |
| OKLCH | oklch(0.5203 0.2124 281.34) | color: oklch(0.5203 0.2124 281.34) | |
| Lab | lab(42.04 47.1 -72.34) | color: lab(42.04 47.1 -72.34) | |
| LCH | lch(42.04 86.32 303.07) | color: lch(42.04 86.32 303.07) |
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)
#5554BA — rgb(85, 84, 186)
Deuteranopia (Green-blind)
#5657B1 — rgb(86, 87, 177)
Tritanopia (Blue-blind)
#5B9E98 — rgb(91, 158, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 68%, 58%);
text
color: hsl(247, 68%, 58%);
border
border: 2px solid hsl(247, 68%, 58%);
gradient light
background: linear-gradient(to right, hsl(247, 68%, 78%), hsl(247, 68%, 58%));
gradient dark
background: linear-gradient(to right, hsl(247, 68%, 58%), hsl(247, 68%, 38%))
hex
background-color: #5C4BDD;
tailwind
bg-[hsl(247,68%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 68%, 58%, 0.4);
css variable
--color-primary: hsl(247, 68%, 58%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 68%, 58%)?
HEX: #5C4BDD | RGB: rgb(92, 75, 221) | CMYK: 58%, 66%, 0%, 13% | HSV: 247°, 66%, 87%. Copy any format from the conversion table above.
What colors go well with #5C4BDD?
The complementary color is HSL(67, 68%, 58%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 68%, 58%) in CSS?
As HSL: color: hsl(247, 68%, 58%); — As HEX: color: #5C4BDD; — As RGB: color: rgb(92, 75, 221); — Tailwind CSS: bg-[hsl(247,68%,58%)] — CSS variable: --color-primary: hsl(247, 68%, 58%);