HSL(221, 40%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,40%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 40%, 81%) | color: hsl(221, 40%, 81%) | |
| HEX | #BBC7E2 | color: #BBC7E2 | |
| RGB | rgb(187, 199, 226) | color: rgb(187, 199, 226) | |
| CMYK | cmyk(17%, 12%, 0%, 11%) | — | |
| HSV | hsv(222, 17%, 89%) | — | |
| HWB | hwb(222 74% 11%) | color: hwb(222 74% 11%) | |
| OKLCH | oklch(0.8291 0.0401 266.45) | color: oklch(0.8291 0.0401 266.45) | |
| Lab | lab(80.12 1.42 -14.77) | color: lab(80.12 1.42 -14.77) | |
| LCH | lch(80.12 14.84 275.49) | color: lch(80.12 14.84 275.49) |
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)
#C0C0DB — rgb(192, 192, 219)
Deuteranopia (Green-blind)
#C0BFDA — rgb(192, 191, 218)
Tritanopia (Blue-blind)
#BCD6D5 — rgb(188, 214, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 40%, 81%);
text
color: hsl(221, 40%, 81%);
border
border: 2px solid hsl(221, 40%, 81%);
gradient light
background: linear-gradient(to right, hsl(221, 40%, 100%), hsl(221, 40%, 81%));
gradient dark
background: linear-gradient(to right, hsl(221, 40%, 81%), hsl(221, 40%, 61%))
hex
background-color: #BBC7E2;
tailwind
bg-[hsl(221,40%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 40%, 81%, 0.4);
css variable
--color-primary: hsl(221, 40%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 40%, 81%)?
HEX: #BBC7E2 | RGB: rgb(187, 199, 226) | CMYK: 17%, 12%, 0%, 11% | HSV: 222°, 17%, 89%. Copy any format from the conversion table above.
What colors go well with #BBC7E2?
The complementary color is HSL(41, 40%, 81%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 40%, 81%) in CSS?
As HSL: color: hsl(221, 40%, 81%); — As HEX: color: #BBC7E2; — As RGB: color: rgb(187, 199, 226); — Tailwind CSS: bg-[hsl(221,40%,81%)] — CSS variable: --color-primary: hsl(221, 40%, 81%);