HSL(248, 80%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,80%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 80%, 68%) | color: hsl(248, 80%, 68%) | |
| HEX | #7E6CEF | color: #7E6CEF | |
| RGB | rgb(126, 108, 239) | color: rgb(126, 108, 239) | |
| CMYK | cmyk(47%, 55%, 0%, 6%) | — | |
| HSV | hsv(248, 55%, 94%) | — | |
| HWB | hwb(248 42% 6%) | color: hwb(248 42% 6%) | |
| OKLCH | oklch(0.6143 0.1896 285.65) | color: oklch(0.6143 0.1896 285.65) | |
| Lab | lab(53.38 39.66 -63.98) | color: lab(53.38 39.66 -63.98) | |
| LCH | lch(53.38 75.28 301.79) | color: lch(53.38 75.28 301.79) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7676CF — rgb(118, 118, 207)
Deuteranopia (Green-blind)
#7779C8 — rgb(119, 121, 200)
Tritanopia (Blue-blind)
#7DB6B1 — rgb(125, 182, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 80%, 68%);
text
color: hsl(248, 80%, 68%);
border
border: 2px solid hsl(248, 80%, 68%);
gradient light
background: linear-gradient(to right, hsl(248, 80%, 88%), hsl(248, 80%, 68%));
gradient dark
background: linear-gradient(to right, hsl(248, 80%, 68%), hsl(248, 80%, 48%))
hex
background-color: #7E6CEF;
tailwind
bg-[hsl(248,80%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 80%, 68%, 0.4);
css variable
--color-primary: hsl(248, 80%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 80%, 68%)?
HEX: #7E6CEF | RGB: rgb(126, 108, 239) | CMYK: 47%, 55%, 0%, 6% | HSV: 248°, 55%, 94%. Copy any format from the conversion table above.
What colors go well with #7E6CEF?
The complementary color is HSL(68, 80%, 68%). 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, 80%, 68%) in CSS?
As HSL: color: hsl(248, 80%, 68%); — As HEX: color: #7E6CEF; — As RGB: color: rgb(126, 108, 239); — Tailwind CSS: bg-[hsl(248,80%,68%)] — CSS variable: --color-primary: hsl(248, 80%, 68%);