HSL(237, 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(237,2%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 2%, 51%) | color: hsl(237, 2%, 51%) | |
| HEX | #808085 | color: #808085 | |
| RGB | rgb(128, 128, 133) | color: rgb(128, 128, 133) | |
| CMYK | cmyk(4%, 4%, 0%, 48%) | — | |
| HSV | hsv(240, 4%, 52%) | — | |
| HWB | hwb(240 50% 48%) | color: hwb(240 50% 48%) | |
| OKLCH | oklch(0.6015 0.0075 286.17) | color: oklch(0.6015 0.0075 286.17) | |
| Lab | lab(53.73 1.01 -2.7) | color: lab(53.73 1.01 -2.7) | |
| LCH | lch(53.73 2.88 290.51) | color: lch(53.73 2.88 290.51) |
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)
#808084 — rgb(128, 128, 132)
Deuteranopia (Green-blind)
#808084 — rgb(128, 128, 132)
Tritanopia (Blue-blind)
#808383 — rgb(128, 131, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 2%, 51%);
text
color: hsl(237, 2%, 51%);
border
border: 2px solid hsl(237, 2%, 51%);
gradient light
background: linear-gradient(to right, hsl(237, 2%, 71%), hsl(237, 2%, 51%));
gradient dark
background: linear-gradient(to right, hsl(237, 2%, 51%), hsl(237, 2%, 31%))
hex
background-color: #808085;
tailwind
bg-[hsl(237,2%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 2%, 51%, 0.4);
css variable
--color-primary: hsl(237, 2%, 51%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(237, 2%, 51%)?
HEX: #808085 | RGB: rgb(128, 128, 133) | CMYK: 4%, 4%, 0%, 48% | HSV: 240°, 4%, 52%. Copy any format from the conversion table above.
What colors go well with #808085?
The complementary color is HSL(57, 2%, 51%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 2%, 51%) in CSS?
As HSL: color: hsl(237, 2%, 51%); — As HEX: color: #808085; — As RGB: color: rgb(128, 128, 133); — Tailwind CSS: bg-[hsl(237,2%,51%)] — CSS variable: --color-primary: hsl(237, 2%, 51%);