HSL(222, 9%, 78%)
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,9%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 9%, 78%) | color: hsl(222, 9%, 78%) | |
| HEX | #C2C5CC | color: #C2C5CC | |
| RGB | rgb(194, 197, 204) | color: rgb(194, 197, 204) | |
| CMYK | cmyk(5%, 3%, 0%, 20%) | — | |
| HSV | hsv(222, 5%, 80%) | — | |
| HWB | hwb(222 76% 20%) | color: hwb(222 76% 20%) | |
| OKLCH | oklch(0.8232 0.0103 267.34) | color: oklch(0.8232 0.0103 267.34) | |
| Lab | lab(79.48 0.29 -3.85) | color: lab(79.48 0.29 -3.85) | |
| LCH | lch(79.48 3.86 274.31) | color: lch(79.48 3.86 274.31) |
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)
#C3C3CA — rgb(195, 195, 202)
Deuteranopia (Green-blind)
#C3C3CA — rgb(195, 195, 202)
Tritanopia (Blue-blind)
#C2C9C9 — rgb(194, 201, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 9%, 78%);
text
color: hsl(222, 9%, 78%);
border
border: 2px solid hsl(222, 9%, 78%);
gradient light
background: linear-gradient(to right, hsl(222, 9%, 98%), hsl(222, 9%, 78%));
gradient dark
background: linear-gradient(to right, hsl(222, 9%, 78%), hsl(222, 9%, 58%))
hex
background-color: #C2C5CC;
tailwind
bg-[hsl(222,9%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 9%, 78%, 0.4);
css variable
--color-primary: hsl(222, 9%, 78%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(222, 9%, 78%)?
HEX: #C2C5CC | RGB: rgb(194, 197, 204) | CMYK: 5%, 3%, 0%, 20% | HSV: 222°, 5%, 80%. Copy any format from the conversion table above.
What colors go well with #C2C5CC?
The complementary color is HSL(42, 9%, 78%). 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, 9%, 78%) in CSS?
As HSL: color: hsl(222, 9%, 78%); — As HEX: color: #C2C5CC; — As RGB: color: rgb(194, 197, 204); — Tailwind CSS: bg-[hsl(222,9%,78%)] — CSS variable: --color-primary: hsl(222, 9%, 78%);