HSL(248, 90%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,90%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 90%, 68%) | color: hsl(248, 90%, 68%) | |
| HEX | #7864F7 | color: #7864F7 | |
| RGB | rgb(120, 100, 247) | color: rgb(120, 100, 247) | |
| CMYK | cmyk(51%, 60%, 0%, 3%) | — | |
| HSV | hsv(248, 60%, 97%) | — | |
| HWB | hwb(248 39% 3%) | color: hwb(248 39% 3%) | |
| OKLCH | oklch(0.602 0.2108 284.3) | color: oklch(0.602 0.2108 284.3) | |
| Lab | lab(51.63 45.41 -71.27) | color: lab(51.63 45.41 -71.27) | |
| LCH | lch(51.63 84.51 302.5) | color: lch(51.63 84.51 302.5) |
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)
#6F6FD3 — rgb(111, 111, 211)
Deuteranopia (Green-blind)
#7172CB — rgb(113, 114, 203)
Tritanopia (Blue-blind)
#77B7B1 — rgb(119, 183, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 90%, 68%);
text
color: hsl(248, 90%, 68%);
border
border: 2px solid hsl(248, 90%, 68%);
gradient light
background: linear-gradient(to right, hsl(248, 90%, 88%), hsl(248, 90%, 68%));
gradient dark
background: linear-gradient(to right, hsl(248, 90%, 68%), hsl(248, 90%, 48%))
hex
background-color: #7864F7;
tailwind
bg-[hsl(248,90%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 90%, 68%, 0.4);
css variable
--color-primary: hsl(248, 90%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 90%, 68%)?
HEX: #7864F7 | RGB: rgb(120, 100, 247) | CMYK: 51%, 60%, 0%, 3% | HSV: 248°, 60%, 97%. Copy any format from the conversion table above.
What colors go well with #7864F7?
The complementary color is HSL(68, 90%, 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, 90%, 68%) in CSS?
As HSL: color: hsl(248, 90%, 68%); — As HEX: color: #7864F7; — As RGB: color: rgb(120, 100, 247); — Tailwind CSS: bg-[hsl(248,90%,68%)] — CSS variable: --color-primary: hsl(248, 90%, 68%);