HSL(221, 45%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,45%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 45%, 79%) | color: hsl(221, 45%, 79%) | |
| HEX | #B1C1E2 | color: #B1C1E2 | |
| RGB | rgb(177, 193, 226) | color: rgb(177, 193, 226) | |
| CMYK | cmyk(22%, 15%, 0%, 11%) | — | |
| HSV | hsv(220, 22%, 89%) | — | |
| HWB | hwb(220 69% 11%) | color: hwb(220 69% 11%) | |
| OKLCH | oklch(0.8096 0.05 264.81) | color: oklch(0.8096 0.05 264.81) | |
| Lab | lab(77.86 1.53 -18.25) | color: lab(77.86 1.53 -18.25) | |
| LCH | lch(77.86 18.31 274.79) | color: lch(77.86 18.31 274.79) |
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)
#B8B8DA — rgb(184, 184, 218)
Deuteranopia (Green-blind)
#B7B6D8 — rgb(183, 182, 216)
Tritanopia (Blue-blind)
#B2D4D2 — rgb(178, 212, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 45%, 79%);
text
color: hsl(221, 45%, 79%);
border
border: 2px solid hsl(221, 45%, 79%);
gradient light
background: linear-gradient(to right, hsl(221, 45%, 99%), hsl(221, 45%, 79%));
gradient dark
background: linear-gradient(to right, hsl(221, 45%, 79%), hsl(221, 45%, 59%))
hex
background-color: #B1C1E2;
tailwind
bg-[hsl(221,45%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 45%, 79%, 0.4);
css variable
--color-primary: hsl(221, 45%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 45%, 79%)?
HEX: #B1C1E2 | RGB: rgb(177, 193, 226) | CMYK: 22%, 15%, 0%, 11% | HSV: 220°, 22%, 89%. Copy any format from the conversion table above.
What colors go well with #B1C1E2?
The complementary color is HSL(41, 45%, 79%). 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, 45%, 79%) in CSS?
As HSL: color: hsl(221, 45%, 79%); — As HEX: color: #B1C1E2; — As RGB: color: rgb(177, 193, 226); — Tailwind CSS: bg-[hsl(221,45%,79%)] — CSS variable: --color-primary: hsl(221, 45%, 79%);