HSL(264, 9%, 57%)
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(264,9%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 9%, 57%) | color: hsl(264, 9%, 57%) | |
| HEX | #8F879B | color: #8F879B | |
| RGB | rgb(143, 135, 155) | color: rgb(143, 135, 155) | |
| CMYK | cmyk(8%, 13%, 0%, 39%) | — | |
| HSV | hsv(264, 13%, 61%) | — | |
| HWB | hwb(264 53% 39%) | color: hwb(264 53% 39%) | |
| OKLCH | oklch(0.637 0.0309 303.65) | color: oklch(0.637 0.0309 303.65) | |
| Lab | lab(57.59 6.98 -9.55) | color: lab(57.59 6.98 -9.55) | |
| LCH | lch(57.59 11.83 306.16) | color: lch(57.59 11.83 306.16) |
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)
#8C8B96 — rgb(140, 139, 150)
Deuteranopia (Green-blind)
#8C8D95 — rgb(140, 141, 149)
Tritanopia (Blue-blind)
#8F9292 — rgb(143, 146, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 9%, 57%);
text
color: hsl(264, 9%, 57%);
border
border: 2px solid hsl(264, 9%, 57%);
gradient light
background: linear-gradient(to right, hsl(264, 9%, 77%), hsl(264, 9%, 57%));
gradient dark
background: linear-gradient(to right, hsl(264, 9%, 57%), hsl(264, 9%, 37%))
hex
background-color: #8F879B;
tailwind
bg-[hsl(264,9%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 9%, 57%, 0.4);
css variable
--color-primary: hsl(264, 9%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(264, 9%, 57%)?
HEX: #8F879B | RGB: rgb(143, 135, 155) | CMYK: 8%, 13%, 0%, 39% | HSV: 264°, 13%, 61%. Copy any format from the conversion table above.
What colors go well with #8F879B?
The complementary color is HSL(84, 9%, 57%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 9%, 57%) in CSS?
As HSL: color: hsl(264, 9%, 57%); — As HEX: color: #8F879B; — As RGB: color: rgb(143, 135, 155); — Tailwind CSS: bg-[hsl(264,9%,57%)] — CSS variable: --color-primary: hsl(264, 9%, 57%);