HSL(248, 49%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,49%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 49%, 80%) | color: hsl(248, 49%, 80%) | |
| HEX | #BAB3E5 | color: #BAB3E5 | |
| RGB | rgb(186, 179, 229) | color: rgb(186, 179, 229) | |
| CMYK | cmyk(19%, 22%, 0%, 10%) | — | |
| HSV | hsv(248, 22%, 90%) | — | |
| HWB | hwb(248 70% 10%) | color: hwb(248 70% 10%) | |
| OKLCH | oklch(0.7895 0.0707 291.11) | color: oklch(0.7895 0.0707 291.11) | |
| Lab | lab(75.04 12.6 -24.1) | color: lab(75.04 12.6 -24.1) | |
| LCH | lch(75.04 27.2 297.6) | color: lch(75.04 27.2 297.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#B7B7D9 — rgb(183, 183, 217)
Deuteranopia (Green-blind)
#B7B8D6 — rgb(183, 184, 214)
Tritanopia (Blue-blind)
#BACFCD — rgb(186, 207, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 49%, 80%);
text
color: hsl(248, 49%, 80%);
border
border: 2px solid hsl(248, 49%, 80%);
gradient light
background: linear-gradient(to right, hsl(248, 49%, 100%), hsl(248, 49%, 80%));
gradient dark
background: linear-gradient(to right, hsl(248, 49%, 80%), hsl(248, 49%, 60%))
hex
background-color: #BAB3E5;
tailwind
bg-[hsl(248,49%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 49%, 80%, 0.4);
css variable
--color-primary: hsl(248, 49%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 49%, 80%)?
HEX: #BAB3E5 | RGB: rgb(186, 179, 229) | CMYK: 19%, 22%, 0%, 10% | HSV: 248°, 22%, 90%. Copy any format from the conversion table above.
What colors go well with #BAB3E5?
The complementary color is HSL(68, 49%, 80%). 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, 49%, 80%) in CSS?
As HSL: color: hsl(248, 49%, 80%); — As HEX: color: #BAB3E5; — As RGB: color: rgb(186, 179, 229); — Tailwind CSS: bg-[hsl(248,49%,80%)] — CSS variable: --color-primary: hsl(248, 49%, 80%);