HSL(221, 12%, 56%)
Grayish Blue — Blue color
Adjust Color
Color Information
Color Name
Grayish Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,12%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 12%, 56%) | color: hsl(221, 12%, 56%) | |
| HEX | #818A9C | color: #818A9C | |
| RGB | rgb(129, 138, 156) | color: rgb(129, 138, 156) | |
| CMYK | cmyk(17%, 12%, 0%, 39%) | — | |
| HSV | hsv(220, 17%, 61%) | — | |
| HWB | hwb(220 51% 39%) | color: hwb(220 51% 39%) | |
| OKLCH | oklch(0.6322 0.029 264.34) | color: oklch(0.6322 0.029 264.34) | |
| Lab | lab(57.31 0.65 -10.66) | color: lab(57.31 0.65 -10.66) | |
| LCH | lch(57.31 10.68 273.49) | color: lch(57.31 10.68 273.49) |
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)
#858598 — rgb(133, 133, 152)
Deuteranopia (Green-blind)
#848497 — rgb(132, 132, 151)
Tritanopia (Blue-blind)
#819493 — rgb(129, 148, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 12%, 56%);
text
color: hsl(221, 12%, 56%);
border
border: 2px solid hsl(221, 12%, 56%);
gradient light
background: linear-gradient(to right, hsl(221, 12%, 76%), hsl(221, 12%, 56%));
gradient dark
background: linear-gradient(to right, hsl(221, 12%, 56%), hsl(221, 12%, 36%))
hex
background-color: #818A9C;
tailwind
bg-[hsl(221,12%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 12%, 56%, 0.4);
css variable
--color-primary: hsl(221, 12%, 56%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 12%, 56%)?
HEX: #818A9C | RGB: rgb(129, 138, 156) | CMYK: 17%, 12%, 0%, 39% | HSV: 220°, 17%, 61%. Copy any format from the conversion table above.
What colors go well with #818A9C?
The complementary color is HSL(41, 12%, 56%). 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, 12%, 56%) in CSS?
As HSL: color: hsl(221, 12%, 56%); — As HEX: color: #818A9C; — As RGB: color: rgb(129, 138, 156); — Tailwind CSS: bg-[hsl(221,12%,56%)] — CSS variable: --color-primary: hsl(221, 12%, 56%);