HSL(245, 59%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,59%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 59%, 81%) | color: hsl(245, 59%, 81%) | |
| HEX | #B7B2EB | color: #B7B2EB | |
| RGB | rgb(183, 178, 235) | color: rgb(183, 178, 235) | |
| CMYK | cmyk(22%, 24%, 0%, 8%) | — | |
| HSV | hsv(245, 24%, 92%) | — | |
| HWB | hwb(245 70% 8%) | color: hwb(245 70% 8%) | |
| OKLCH | oklch(0.7876 0.0805 288.42) | color: oklch(0.7876 0.0805 288.42) | |
| Lab | lab(74.77 13.58 -27.79) | color: lab(74.77 13.58 -27.79) | |
| LCH | lch(74.77 30.93 296.04) | color: lch(74.77 30.93 296.04) |
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)
#B5B5DD — rgb(181, 181, 221)
Deuteranopia (Green-blind)
#B5B6DA — rgb(181, 182, 218)
Tritanopia (Blue-blind)
#B7D2D0 — rgb(183, 210, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 59%, 81%);
text
color: hsl(245, 59%, 81%);
border
border: 2px solid hsl(245, 59%, 81%);
gradient light
background: linear-gradient(to right, hsl(245, 59%, 100%), hsl(245, 59%, 81%));
gradient dark
background: linear-gradient(to right, hsl(245, 59%, 81%), hsl(245, 59%, 61%))
hex
background-color: #B7B2EB;
tailwind
bg-[hsl(245,59%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 59%, 81%, 0.4);
css variable
--color-primary: hsl(245, 59%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 59%, 81%)?
HEX: #B7B2EB | RGB: rgb(183, 178, 235) | CMYK: 22%, 24%, 0%, 8% | HSV: 245°, 24%, 92%. Copy any format from the conversion table above.
What colors go well with #B7B2EB?
The complementary color is HSL(65, 59%, 81%). 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, 59%, 81%) in CSS?
As HSL: color: hsl(245, 59%, 81%); — As HEX: color: #B7B2EB; — As RGB: color: rgb(183, 178, 235); — Tailwind CSS: bg-[hsl(245,59%,81%)] — CSS variable: --color-primary: hsl(245, 59%, 81%);