HSL(248, 80%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,80%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 80%, 85%) | color: hsl(248, 80%, 85%) | |
| HEX | #C2BAF7 | color: #C2BAF7 | |
| RGB | rgb(194, 186, 247) | color: rgb(194, 186, 247) | |
| CMYK | cmyk(21%, 25%, 0%, 3%) | — | |
| HSV | hsv(248, 25%, 97%) | — | |
| HWB | hwb(248 73% 3%) | color: hwb(248 73% 3%) | |
| OKLCH | oklch(0.8166 0.0854 290.38) | color: oklch(0.8166 0.0854 290.38) | |
| Lab | lab(78.05 15.24 -29.14) | color: lab(78.05 15.24 -29.14) | |
| LCH | lch(78.05 32.88 297.61) | color: lch(78.05 32.88 297.61) |
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)
#BFBEE8 — rgb(191, 190, 232)
Deuteranopia (Green-blind)
#BFC0E5 — rgb(191, 192, 229)
Tritanopia (Blue-blind)
#C2DDDA — rgb(194, 221, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 80%, 85%);
text
color: hsl(248, 80%, 85%);
border
border: 2px solid hsl(248, 80%, 85%);
gradient light
background: linear-gradient(to right, hsl(248, 80%, 100%), hsl(248, 80%, 85%));
gradient dark
background: linear-gradient(to right, hsl(248, 80%, 85%), hsl(248, 80%, 65%))
hex
background-color: #C2BAF7;
tailwind
bg-[hsl(248,80%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 80%, 85%, 0.4);
css variable
--color-primary: hsl(248, 80%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 80%, 85%)?
HEX: #C2BAF7 | RGB: rgb(194, 186, 247) | CMYK: 21%, 25%, 0%, 3% | HSV: 248°, 25%, 97%. Copy any format from the conversion table above.
What colors go well with #C2BAF7?
The complementary color is HSL(68, 80%, 85%). 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%, 85%) in CSS?
As HSL: color: hsl(248, 80%, 85%); — As HEX: color: #C2BAF7; — As RGB: color: rgb(194, 186, 247); — Tailwind CSS: bg-[hsl(248,80%,85%)] — CSS variable: --color-primary: hsl(248, 80%, 85%);