HSL(249, 52%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,52%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 52%, 84%) | color: hsl(249, 52%, 84%) | |
| HEX | #C7C1EB | color: #C7C1EB | |
| RGB | rgb(199, 193, 235) | color: rgb(199, 193, 235) | |
| CMYK | cmyk(15%, 18%, 0%, 8%) | — | |
| HSV | hsv(249, 18%, 92%) | — | |
| HWB | hwb(249 75% 8%) | color: hwb(249 75% 8%) | |
| OKLCH | oklch(0.8295 0.0586 291.62) | color: oklch(0.8295 0.0586 291.62) | |
| Lab | lab(79.77 10.34 -20.04) | color: lab(79.77 10.34 -20.04) | |
| LCH | lch(79.77 22.55 297.29) | color: lch(79.77 22.55 297.29) |
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)
#C4C4E1 — rgb(196, 196, 225)
Deuteranopia (Green-blind)
#C5C5DE — rgb(197, 197, 222)
Tritanopia (Blue-blind)
#C7D9D7 — rgb(199, 217, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 52%, 84%);
text
color: hsl(249, 52%, 84%);
border
border: 2px solid hsl(249, 52%, 84%);
gradient light
background: linear-gradient(to right, hsl(249, 52%, 100%), hsl(249, 52%, 84%));
gradient dark
background: linear-gradient(to right, hsl(249, 52%, 84%), hsl(249, 52%, 64%))
hex
background-color: #C7C1EB;
tailwind
bg-[hsl(249,52%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 52%, 84%, 0.4);
css variable
--color-primary: hsl(249, 52%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 52%, 84%)?
HEX: #C7C1EB | RGB: rgb(199, 193, 235) | CMYK: 15%, 18%, 0%, 8% | HSV: 249°, 18%, 92%. Copy any format from the conversion table above.
What colors go well with #C7C1EB?
The complementary color is HSL(69, 52%, 84%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 52%, 84%) in CSS?
As HSL: color: hsl(249, 52%, 84%); — As HEX: color: #C7C1EB; — As RGB: color: rgb(199, 193, 235); — Tailwind CSS: bg-[hsl(249,52%,84%)] — CSS variable: --color-primary: hsl(249, 52%, 84%);