HSL(227, 50%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 50%, 79%) | color: hsl(227, 50%, 79%) | |
| HEX | #AFBAE4 | color: #AFBAE4 | |
| RGB | rgb(175, 186, 228) | color: rgb(175, 186, 228) | |
| CMYK | cmyk(23%, 18%, 0%, 11%) | — | |
| HSV | hsv(228, 23%, 89%) | — | |
| HWB | hwb(228 69% 11%) | color: hwb(228 69% 11%) | |
| OKLCH | oklch(0.7946 0.0609 273.46) | color: oklch(0.7946 0.0609 273.46) | |
| Lab | lab(75.97 5.16 -22.21) | color: lab(75.97 5.16 -22.21) | |
| LCH | lch(75.97 22.8 283.08) | color: lch(75.97 22.8 283.08) |
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)
#B3B2D7 — rgb(179, 178, 215)
Tritanopia (Blue-blind)
#B0D2D0 — rgb(176, 210, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 50%, 79%);
text
color: hsl(227, 50%, 79%);
border
border: 2px solid hsl(227, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(227, 50%, 99%), hsl(227, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(227, 50%, 79%), hsl(227, 50%, 59%))
hex
background-color: #AFBAE4;
tailwind
bg-[hsl(227,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 50%, 79%, 0.4);
css variable
--color-primary: hsl(227, 50%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 50%, 79%)?
HEX: #AFBAE4 | RGB: rgb(175, 186, 228) | CMYK: 23%, 18%, 0%, 11% | HSV: 228°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFBAE4?
The complementary color is HSL(47, 50%, 79%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 50%, 79%) in CSS?
As HSL: color: hsl(227, 50%, 79%); — As HEX: color: #AFBAE4; — As RGB: color: rgb(175, 186, 228); — Tailwind CSS: bg-[hsl(227,50%,79%)] — CSS variable: --color-primary: hsl(227, 50%, 79%);