HSL(222, 2%, 73%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(222,2%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 2%, 73%) | color: hsl(222, 2%, 73%) | |
| HEX | #B9BABC | color: #B9BABC | |
| RGB | rgb(185, 186, 188) | color: rgb(185, 186, 188) | |
| CMYK | cmyk(2%, 1%, 0%, 26%) | — | |
| HSV | hsv(220, 2%, 74%) | — | |
| HWB | hwb(220 73% 26%) | color: hwb(220 73% 26%) | |
| OKLCH | oklch(0.7887 0.003 264.54) | color: oklch(0.7887 0.003 264.54) | |
| Lab | lab(75.49 0.03 -1.13) | color: lab(75.49 0.03 -1.13) | |
| LCH | lch(75.49 1.13 271.52) | color: lch(75.49 1.13 271.52) |
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)
#B9B9BC — rgb(185, 185, 188)
Deuteranopia (Green-blind)
#B9B9BB — rgb(185, 185, 187)
Tritanopia (Blue-blind)
#B9BBBB — rgb(185, 187, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 2%, 73%);
text
color: hsl(222, 2%, 73%);
border
border: 2px solid hsl(222, 2%, 73%);
gradient light
background: linear-gradient(to right, hsl(222, 2%, 93%), hsl(222, 2%, 73%));
gradient dark
background: linear-gradient(to right, hsl(222, 2%, 73%), hsl(222, 2%, 53%))
hex
background-color: #B9BABC;
tailwind
bg-[hsl(222,2%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 2%, 73%, 0.4);
css variable
--color-primary: hsl(222, 2%, 73%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(222, 2%, 73%)?
HEX: #B9BABC | RGB: rgb(185, 186, 188) | CMYK: 2%, 1%, 0%, 26% | HSV: 220°, 2%, 74%. Copy any format from the conversion table above.
What colors go well with #B9BABC?
The complementary color is HSL(42, 2%, 73%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 2%, 73%) in CSS?
As HSL: color: hsl(222, 2%, 73%); — As HEX: color: #B9BABC; — As RGB: color: rgb(185, 186, 188); — Tailwind CSS: bg-[hsl(222,2%,73%)] — CSS variable: --color-primary: hsl(222, 2%, 73%);