HSL(221, 50%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 50%, 79%) | color: hsl(221, 50%, 79%) | |
| HEX | #AFC0E4 | color: #AFC0E4 | |
| RGB | rgb(175, 192, 228) | color: rgb(175, 192, 228) | |
| CMYK | cmyk(23%, 16%, 0%, 11%) | — | |
| HSV | hsv(221, 23%, 89%) | — | |
| HWB | hwb(221 69% 11%) | color: hwb(221 69% 11%) | |
| OKLCH | oklch(0.8068 0.0544 265.24) | color: oklch(0.8068 0.0544 265.24) | |
| Lab | lab(77.53 1.91 -19.84) | color: lab(77.53 1.91 -19.84) | |
| LCH | lch(77.53 19.93 275.5) | color: lch(77.53 19.93 275.5) |
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)
#B6B7DB — rgb(182, 183, 219)
Deuteranopia (Green-blind)
#B5B4D9 — rgb(181, 180, 217)
Tritanopia (Blue-blind)
#B0D4D3 — rgb(176, 212, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 50%, 79%);
text
color: hsl(221, 50%, 79%);
border
border: 2px solid hsl(221, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(221, 50%, 99%), hsl(221, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(221, 50%, 79%), hsl(221, 50%, 59%))
hex
background-color: #AFC0E4;
tailwind
bg-[hsl(221,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 50%, 79%, 0.4);
css variable
--color-primary: hsl(221, 50%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 50%, 79%)?
HEX: #AFC0E4 | RGB: rgb(175, 192, 228) | CMYK: 23%, 16%, 0%, 11% | HSV: 221°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFC0E4?
The complementary color is HSL(41, 50%, 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, 50%, 79%) in CSS?
As HSL: color: hsl(221, 50%, 79%); — As HEX: color: #AFC0E4; — As RGB: color: rgb(175, 192, 228); — Tailwind CSS: bg-[hsl(221,50%,79%)] — CSS variable: --color-primary: hsl(221, 50%, 79%);