HSL(248, 100%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,100%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 100%, 64%) | color: hsl(248, 100%, 64%) | |
| HEX | #6047FF | color: #6047FF | |
| RGB | rgb(96, 71, 255) | color: rgb(96, 71, 255) | |
| CMYK | cmyk(62%, 72%, 0%, 0%) | — | |
| HSV | hsv(248, 72%, 100%) | — | |
| HWB | hwb(248 28% 0%) | color: hwb(248 28% 0%) | |
| OKLCH | oklch(0.548 0.2561 279.92) | color: oklch(0.548 0.2561 279.92) | |
| Lab | lab(44.53 59.95 -87.41) | color: lab(44.53 59.95 -87.41) | |
| LCH | lch(44.53 105.99 304.44) | color: lch(44.53 105.99 304.44) |
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)
#5555D2 — rgb(85, 85, 210)
Deuteranopia (Green-blind)
#5759C8 — rgb(87, 89, 200)
Tritanopia (Blue-blind)
#5FAFA8 — rgb(95, 175, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 100%, 64%);
text
color: hsl(248, 100%, 64%);
border
border: 2px solid hsl(248, 100%, 64%);
gradient light
background: linear-gradient(to right, hsl(248, 100%, 84%), hsl(248, 100%, 64%));
gradient dark
background: linear-gradient(to right, hsl(248, 100%, 64%), hsl(248, 100%, 44%))
hex
background-color: #6047FF;
tailwind
bg-[hsl(248,100%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 100%, 64%, 0.4);
css variable
--color-primary: hsl(248, 100%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 100%, 64%)?
HEX: #6047FF | RGB: rgb(96, 71, 255) | CMYK: 62%, 72%, 0%, 0% | HSV: 248°, 72%, 100%. Copy any format from the conversion table above.
What colors go well with #6047FF?
The complementary color is HSL(68, 100%, 64%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 100%, 64%) in CSS?
As HSL: color: hsl(248, 100%, 64%); — As HEX: color: #6047FF; — As RGB: color: rgb(96, 71, 255); — Tailwind CSS: bg-[hsl(248,100%,64%)] — CSS variable: --color-primary: hsl(248, 100%, 64%);