HSL(229, 21%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,21%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 21%, 74%) | color: hsl(229, 21%, 74%) | |
| HEX | #AFB4CB | color: #AFB4CB | |
| RGB | rgb(175, 180, 203) | color: rgb(175, 180, 203) | |
| CMYK | cmyk(14%, 11%, 0%, 20%) | — | |
| HSV | hsv(229, 14%, 80%) | — | |
| HWB | hwb(229 69% 20%) | color: hwb(229 69% 20%) | |
| OKLCH | oklch(0.7733 0.0332 275.87) | color: oklch(0.7733 0.0332 275.87) | |
| Lab | lab(73.59 2.89 -12.21) | color: lab(73.59 2.89 -12.21) | |
| LCH | lch(73.59 12.55 283.32) | color: lch(73.59 12.55 283.32) |
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)
#B1B1C5 — rgb(177, 177, 197)
Deuteranopia (Green-blind)
#B1B1C4 — rgb(177, 177, 196)
Tritanopia (Blue-blind)
#AFC1C0 — rgb(175, 193, 192)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 21%, 74%);
text
color: hsl(229, 21%, 74%);
border
border: 2px solid hsl(229, 21%, 74%);
gradient light
background: linear-gradient(to right, hsl(229, 21%, 94%), hsl(229, 21%, 74%));
gradient dark
background: linear-gradient(to right, hsl(229, 21%, 74%), hsl(229, 21%, 54%))
hex
background-color: #AFB4CB;
tailwind
bg-[hsl(229,21%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 21%, 74%, 0.4);
css variable
--color-primary: hsl(229, 21%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 21%, 74%)?
HEX: #AFB4CB | RGB: rgb(175, 180, 203) | CMYK: 14%, 11%, 0%, 20% | HSV: 229°, 14%, 80%. Copy any format from the conversion table above.
What colors go well with #AFB4CB?
The complementary color is HSL(49, 21%, 74%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 21%, 74%) in CSS?
As HSL: color: hsl(229, 21%, 74%); — As HEX: color: #AFB4CB; — As RGB: color: rgb(175, 180, 203); — Tailwind CSS: bg-[hsl(229,21%,74%)] — CSS variable: --color-primary: hsl(229, 21%, 74%);