HSL(240, 80%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(240,80%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 80%, 84%) | color: hsl(240, 80%, 84%) | |
| HEX | #B6B6F7 | color: #B6B6F7 | |
| RGB | rgb(182, 182, 247) | color: rgb(182, 182, 247) | |
| CMYK | cmyk(26%, 26%, 0%, 3%) | — | |
| HSV | hsv(240, 26%, 97%) | — | |
| HWB | hwb(240 72% 3%) | color: hwb(240 72% 3%) | |
| OKLCH | oklch(0.7995 0.0916 284.14) | color: oklch(0.7995 0.0916 284.14) | |
| Lab | lab(76.14 13.88 -32.16) | color: lab(76.14 13.88 -32.16) | |
| LCH | lch(76.14 35.03 293.34) | color: lch(76.14 35.03 293.34) |
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)
#B6B6E7 — rgb(182, 182, 231)
Deuteranopia (Green-blind)
#B6B6E4 — rgb(182, 182, 228)
Tritanopia (Blue-blind)
#B6DBD8 — rgb(182, 219, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 80%, 84%);
text
color: hsl(240, 80%, 84%);
border
border: 2px solid hsl(240, 80%, 84%);
gradient light
background: linear-gradient(to right, hsl(240, 80%, 100%), hsl(240, 80%, 84%));
gradient dark
background: linear-gradient(to right, hsl(240, 80%, 84%), hsl(240, 80%, 64%))
hex
background-color: #B6B6F7;
tailwind
bg-[hsl(240,80%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 80%, 84%, 0.4);
css variable
--color-primary: hsl(240, 80%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 80%, 84%)?
HEX: #B6B6F7 | RGB: rgb(182, 182, 247) | CMYK: 26%, 26%, 0%, 3% | HSV: 240°, 26%, 97%. Copy any format from the conversion table above.
What colors go well with #B6B6F7?
The complementary color is HSL(60, 80%, 84%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(240, 80%, 84%) in CSS?
As HSL: color: hsl(240, 80%, 84%); — As HEX: color: #B6B6F7; — As RGB: color: rgb(182, 182, 247); — Tailwind CSS: bg-[hsl(240,80%,84%)] — CSS variable: --color-primary: hsl(240, 80%, 84%);