HSL(207, 2%, 51%)
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(207,2%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(207, 2%, 51%) | color: hsl(207, 2%, 51%) | |
| HEX | #808285 | color: #808285 | |
| RGB | rgb(128, 130, 133) | color: rgb(128, 130, 133) | |
| CMYK | cmyk(4%, 2%, 0%, 48%) | — | |
| HSV | hsv(216, 4%, 52%) | — | |
| HWB | hwb(216 50% 48%) | color: hwb(216 50% 48%) | |
| OKLCH | oklch(0.6059 0.0051 258.33) | color: oklch(0.6059 0.0051 258.33) | |
| Lab | lab(54.29 -0.14 -1.88) | color: lab(54.29 -0.14 -1.88) | |
| LCH | lch(54.29 1.89 265.74) | color: lch(54.29 1.89 265.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)
#818184 — rgb(129, 129, 132)
Deuteranopia (Green-blind)
#818184 — rgb(129, 129, 132)
Tritanopia (Blue-blind)
#808484 — rgb(128, 132, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(207, 2%, 51%);
text
color: hsl(207, 2%, 51%);
border
border: 2px solid hsl(207, 2%, 51%);
gradient light
background: linear-gradient(to right, hsl(207, 2%, 71%), hsl(207, 2%, 51%));
gradient dark
background: linear-gradient(to right, hsl(207, 2%, 51%), hsl(207, 2%, 31%))
hex
background-color: #808285;
tailwind
bg-[hsl(207,2%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(207, 2%, 51%, 0.4);
css variable
--color-primary: hsl(207, 2%, 51%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(207, 2%, 51%)?
HEX: #808285 | RGB: rgb(128, 130, 133) | CMYK: 4%, 2%, 0%, 48% | HSV: 216°, 4%, 52%. Copy any format from the conversion table above.
What colors go well with #808285?
The complementary color is HSL(27, 2%, 51%). For a triadic harmony, use hues 207°, 327°, and 87°. For analogous combinations, try hues 177° and 237°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(207, 2%, 51%) in CSS?
As HSL: color: hsl(207, 2%, 51%); — As HEX: color: #808285; — As RGB: color: rgb(128, 130, 133); — Tailwind CSS: bg-[hsl(207,2%,51%)] — CSS variable: --color-primary: hsl(207, 2%, 51%);