HSL(233, 4%, 56%)
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(233,4%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 4%, 56%) | color: hsl(233, 4%, 56%) | |
| HEX | #8A8B93 | color: #8A8B93 | |
| RGB | rgb(138, 139, 147) | color: rgb(138, 139, 147) | |
| CMYK | cmyk(6%, 5%, 0%, 42%) | — | |
| HSV | hsv(233, 6%, 58%) | — | |
| HWB | hwb(233 55% 42%) | color: hwb(233 55% 42%) | |
| OKLCH | oklch(0.6385 0.0119 280.35) | color: oklch(0.6385 0.0119 280.35) | |
| Lab | lab(58.01 1.25 -4.38) | color: lab(58.01 1.25 -4.38) | |
| LCH | lch(58.01 4.55 285.93) | color: lch(58.01 4.55 285.93) |
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)
#8A8A91 — rgb(138, 138, 145)
Deuteranopia (Green-blind)
#8A8A91 — rgb(138, 138, 145)
Tritanopia (Blue-blind)
#8A908F — rgb(138, 144, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 4%, 56%);
text
color: hsl(233, 4%, 56%);
border
border: 2px solid hsl(233, 4%, 56%);
gradient light
background: linear-gradient(to right, hsl(233, 4%, 76%), hsl(233, 4%, 56%));
gradient dark
background: linear-gradient(to right, hsl(233, 4%, 56%), hsl(233, 4%, 36%))
hex
background-color: #8A8B93;
tailwind
bg-[hsl(233,4%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 4%, 56%, 0.4);
css variable
--color-primary: hsl(233, 4%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(233, 4%, 56%)?
HEX: #8A8B93 | RGB: rgb(138, 139, 147) | CMYK: 6%, 5%, 0%, 42% | HSV: 233°, 6%, 58%. Copy any format from the conversion table above.
What colors go well with #8A8B93?
The complementary color is HSL(53, 4%, 56%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 4%, 56%) in CSS?
As HSL: color: hsl(233, 4%, 56%); — As HEX: color: #8A8B93; — As RGB: color: rgb(138, 139, 147); — Tailwind CSS: bg-[hsl(233,4%,56%)] — CSS variable: --color-primary: hsl(233, 4%, 56%);