HSL(232, 5%, 20%)
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,5%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 5%, 20%) | color: hsl(232, 5%, 20%) | |
| HEX | #303136 | color: #303136 | |
| RGB | rgb(48, 49, 54) | color: rgb(48, 49, 54) | |
| CMYK | cmyk(11%, 9%, 0%, 79%) | — | |
| HSV | hsv(230, 11%, 21%) | — | |
| HWB | hwb(230 19% 79%) | color: hwb(230 19% 79%) | |
| OKLCH | oklch(0.3141 0.009 276.85) | color: oklch(0.3141 0.009 276.85) | |
| Lab | lab(20.41 0.79 -3.32) | color: lab(20.41 0.79 -3.32) | |
| LCH | lch(20.41 3.41 283.38) | color: lch(20.41 3.41 283.38) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#303035 — rgb(48, 48, 53)
Deuteranopia (Green-blind)
#303035 — rgb(48, 48, 53)
Tritanopia (Blue-blind)
#303434 — rgb(48, 52, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 5%, 20%);
text
color: hsl(232, 5%, 20%);
border
border: 2px solid hsl(232, 5%, 20%);
gradient light
background: linear-gradient(to right, hsl(232, 5%, 40%), hsl(232, 5%, 20%));
gradient dark
background: linear-gradient(to right, hsl(232, 5%, 20%), hsl(232, 5%, 0%))
hex
background-color: #303136;
tailwind
bg-[hsl(232,5%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 5%, 20%, 0.4);
css variable
--color-primary: hsl(232, 5%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(232, 5%, 20%)?
HEX: #303136 | RGB: rgb(48, 49, 54) | CMYK: 11%, 9%, 0%, 79% | HSV: 230°, 11%, 21%. Copy any format from the conversion table above.
What colors go well with #303136?
The complementary color is HSL(52, 5%, 20%). 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, 5%, 20%) in CSS?
As HSL: color: hsl(232, 5%, 20%); — As HEX: color: #303136; — As RGB: color: rgb(48, 49, 54); — Tailwind CSS: bg-[hsl(232,5%,20%)] — CSS variable: --color-primary: hsl(232, 5%, 20%);