HSL(248, 94%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,94%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 94%, 65%) | color: hsl(248, 94%, 65%) | |
| HEX | #6852FA | color: #6852FA | |
| RGB | rgb(104, 82, 250) | color: rgb(104, 82, 250) | |
| CMYK | cmyk(58%, 67%, 0%, 2%) | — | |
| HSV | hsv(248, 67%, 98%) | — | |
| HWB | hwb(248 32% 2%) | color: hwb(248 32% 2%) | |
| OKLCH | oklch(0.5645 0.2377 281.56) | color: oklch(0.5645 0.2377 281.56) | |
| Lab | lab(46.81 53.73 -80.86) | color: lab(46.81 53.73 -80.86) | |
| LCH | lch(46.81 97.08 303.6) | color: lch(46.81 97.08 303.6) |
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)
#5E5ED1 — rgb(94, 94, 209)
Deuteranopia (Green-blind)
#6061C8 — rgb(96, 97, 200)
Tritanopia (Blue-blind)
#67B1AA — rgb(103, 177, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 94%, 65%);
text
color: hsl(248, 94%, 65%);
border
border: 2px solid hsl(248, 94%, 65%);
gradient light
background: linear-gradient(to right, hsl(248, 94%, 85%), hsl(248, 94%, 65%));
gradient dark
background: linear-gradient(to right, hsl(248, 94%, 65%), hsl(248, 94%, 45%))
hex
background-color: #6852FA;
tailwind
bg-[hsl(248,94%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 94%, 65%, 0.4);
css variable
--color-primary: hsl(248, 94%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 94%, 65%)?
HEX: #6852FA | RGB: rgb(104, 82, 250) | CMYK: 58%, 67%, 0%, 2% | HSV: 248°, 67%, 98%. Copy any format from the conversion table above.
What colors go well with #6852FA?
The complementary color is HSL(68, 94%, 65%). 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, 94%, 65%) in CSS?
As HSL: color: hsl(248, 94%, 65%); — As HEX: color: #6852FA; — As RGB: color: rgb(104, 82, 250); — Tailwind CSS: bg-[hsl(248,94%,65%)] — CSS variable: --color-primary: hsl(248, 94%, 65%);