HSL(248, 64%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,64%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 64%, 65%) | color: hsl(248, 64%, 65%) | |
| HEX | #7C6DDF | color: #7C6DDF | |
| RGB | rgb(124, 109, 223) | color: rgb(124, 109, 223) | |
| CMYK | cmyk(44%, 51%, 0%, 13%) | — | |
| HSV | hsv(248, 51%, 87%) | — | |
| HWB | hwb(248 43% 13%) | color: hwb(248 43% 13%) | |
| OKLCH | oklch(0.6039 0.1673 286.27) | color: oklch(0.6039 0.1673 286.27) | |
| Lab | lab(52.45 34.02 -56.49) | color: lab(52.45 34.02 -56.49) | |
| LCH | lch(52.45 65.94 301.06) | color: lch(52.45 65.94 301.06) |
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)
#7675C3 — rgb(118, 117, 195)
Deuteranopia (Green-blind)
#7678BD — rgb(118, 120, 189)
Tritanopia (Blue-blind)
#7BAEA9 — rgb(123, 174, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 64%, 65%);
text
color: hsl(248, 64%, 65%);
border
border: 2px solid hsl(248, 64%, 65%);
gradient light
background: linear-gradient(to right, hsl(248, 64%, 85%), hsl(248, 64%, 65%));
gradient dark
background: linear-gradient(to right, hsl(248, 64%, 65%), hsl(248, 64%, 45%))
hex
background-color: #7C6DDF;
tailwind
bg-[hsl(248,64%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 64%, 65%, 0.4);
css variable
--color-primary: hsl(248, 64%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 64%, 65%)?
HEX: #7C6DDF | RGB: rgb(124, 109, 223) | CMYK: 44%, 51%, 0%, 13% | HSV: 248°, 51%, 87%. Copy any format from the conversion table above.
What colors go well with #7C6DDF?
The complementary color is HSL(68, 64%, 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, 64%, 65%) in CSS?
As HSL: color: hsl(248, 64%, 65%); — As HEX: color: #7C6DDF; — As RGB: color: rgb(124, 109, 223); — Tailwind CSS: bg-[hsl(248,64%,65%)] — CSS variable: --color-primary: hsl(248, 64%, 65%);