HSL(221, 18%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,18%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 18%, 74%) | color: hsl(221, 18%, 74%) | |
| HEX | #B1B8C9 | color: #B1B8C9 | |
| RGB | rgb(177, 184, 201) | color: rgb(177, 184, 201) | |
| CMYK | cmyk(12%, 8%, 0%, 21%) | — | |
| HSV | hsv(223, 12%, 79%) | — | |
| HWB | hwb(223 70% 21%) | color: hwb(223 70% 21%) | |
| OKLCH | oklch(0.7824 0.0254 267.87) | color: oklch(0.7824 0.0254 267.87) | |
| Lab | lab(74.73 0.96 -9.41) | color: lab(74.73 0.96 -9.41) | |
| LCH | lch(74.73 9.46 275.83) | color: lch(74.73 9.46 275.83) |
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)
#B4B4C5 — rgb(180, 180, 197)
Deuteranopia (Green-blind)
#B4B3C4 — rgb(180, 179, 196)
Tritanopia (Blue-blind)
#B1C2C1 — rgb(177, 194, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 18%, 74%);
text
color: hsl(221, 18%, 74%);
border
border: 2px solid hsl(221, 18%, 74%);
gradient light
background: linear-gradient(to right, hsl(221, 18%, 94%), hsl(221, 18%, 74%));
gradient dark
background: linear-gradient(to right, hsl(221, 18%, 74%), hsl(221, 18%, 54%))
hex
background-color: #B1B8C9;
tailwind
bg-[hsl(221,18%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 18%, 74%, 0.4);
css variable
--color-primary: hsl(221, 18%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 18%, 74%)?
HEX: #B1B8C9 | RGB: rgb(177, 184, 201) | CMYK: 12%, 8%, 0%, 21% | HSV: 223°, 12%, 79%. Copy any format from the conversion table above.
What colors go well with #B1B8C9?
The complementary color is HSL(41, 18%, 74%). 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, 18%, 74%) in CSS?
As HSL: color: hsl(221, 18%, 74%); — As HEX: color: #B1B8C9; — As RGB: color: rgb(177, 184, 201); — Tailwind CSS: bg-[hsl(221,18%,74%)] — CSS variable: --color-primary: hsl(221, 18%, 74%);