HSL(232, 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(232,9%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 9%, 57%) | color: hsl(232, 9%, 57%) | |
| HEX | #878A9B | color: #878A9B | |
| RGB | rgb(135, 138, 155) | color: rgb(135, 138, 155) | |
| CMYK | cmyk(13%, 11%, 0%, 39%) | — | |
| HSV | hsv(231, 13%, 61%) | — | |
| HWB | hwb(231 53% 39%) | color: hwb(231 53% 39%) | |
| OKLCH | oklch(0.6366 0.0256 277.7) | color: oklch(0.6366 0.0256 277.7) | |
| Lab | lab(57.75 2.47 -9.39) | color: lab(57.75 2.47 -9.39) | |
| LCH | lch(57.75 9.71 284.74) | color: lch(57.75 9.71 284.74) |
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)
#888897 — rgb(136, 136, 151)
Deuteranopia (Green-blind)
#888896 — rgb(136, 136, 150)
Tritanopia (Blue-blind)
#879493 — rgb(135, 148, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 9%, 57%);
text
color: hsl(232, 9%, 57%);
border
border: 2px solid hsl(232, 9%, 57%);
gradient light
background: linear-gradient(to right, hsl(232, 9%, 77%), hsl(232, 9%, 57%));
gradient dark
background: linear-gradient(to right, hsl(232, 9%, 57%), hsl(232, 9%, 37%))
hex
background-color: #878A9B;
tailwind
bg-[hsl(232,9%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 9%, 57%, 0.4);
css variable
--color-primary: hsl(232, 9%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(232, 9%, 57%)?
HEX: #878A9B | RGB: rgb(135, 138, 155) | CMYK: 13%, 11%, 0%, 39% | HSV: 231°, 13%, 61%. Copy any format from the conversion table above.
What colors go well with #878A9B?
The complementary color is HSL(52, 9%, 57%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 9%, 57%) in CSS?
As HSL: color: hsl(232, 9%, 57%); — As HEX: color: #878A9B; — As RGB: color: rgb(135, 138, 155); — Tailwind CSS: bg-[hsl(232,9%,57%)] — CSS variable: --color-primary: hsl(232, 9%, 57%);