HSL(245, 52%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,52%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 52%, 80%) | color: hsl(245, 52%, 80%) | |
| HEX | #B6B1E7 | color: #B6B1E7 | |
| RGB | rgb(182, 177, 231) | color: rgb(182, 177, 231) | |
| CMYK | cmyk(21%, 23%, 0%, 9%) | — | |
| HSV | hsv(246, 23%, 91%) | — | |
| HWB | hwb(246 70% 9%) | color: hwb(246 70% 9%) | |
| OKLCH | oklch(0.7832 0.0764 288.75) | color: oklch(0.7832 0.0764 288.75) | |
| Lab | lab(74.29 12.91 -26.35) | color: lab(74.29 12.91 -26.35) | |
| LCH | lch(74.29 29.34 296.1) | color: lch(74.29 29.34 296.1) |
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)
#B4B4DA — rgb(180, 180, 218)
Deuteranopia (Green-blind)
#B4B5D7 — rgb(180, 181, 215)
Tritanopia (Blue-blind)
#B6D0CD — rgb(182, 208, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 52%, 80%);
text
color: hsl(245, 52%, 80%);
border
border: 2px solid hsl(245, 52%, 80%);
gradient light
background: linear-gradient(to right, hsl(245, 52%, 100%), hsl(245, 52%, 80%));
gradient dark
background: linear-gradient(to right, hsl(245, 52%, 80%), hsl(245, 52%, 60%))
hex
background-color: #B6B1E7;
tailwind
bg-[hsl(245,52%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 52%, 80%, 0.4);
css variable
--color-primary: hsl(245, 52%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 52%, 80%)?
HEX: #B6B1E7 | RGB: rgb(182, 177, 231) | CMYK: 21%, 23%, 0%, 9% | HSV: 246°, 23%, 91%. Copy any format from the conversion table above.
What colors go well with #B6B1E7?
The complementary color is HSL(65, 52%, 80%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 52%, 80%) in CSS?
As HSL: color: hsl(245, 52%, 80%); — As HEX: color: #B6B1E7; — As RGB: color: rgb(182, 177, 231); — Tailwind CSS: bg-[hsl(245,52%,80%)] — CSS variable: --color-primary: hsl(245, 52%, 80%);