HSL(274, 9%, 21%)
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(274,9%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 9%, 21%) | color: hsl(274, 9%, 21%) | |
| HEX | #36313A | color: #36313A | |
| RGB | rgb(54, 49, 58) | color: rgb(54, 49, 58) | |
| CMYK | cmyk(7%, 16%, 0%, 77%) | — | |
| HSV | hsv(273, 16%, 23%) | — | |
| HWB | hwb(273 19% 77%) | color: hwb(273 19% 77%) | |
| OKLCH | oklch(0.3219 0.0171 310.17) | color: oklch(0.3219 0.0171 310.17) | |
| Lab | lab(21.16 4.32 -4.87) | color: lab(21.16 4.32 -4.87) | |
| LCH | lch(21.16 6.51 311.58) | color: lch(21.16 6.51 311.58) |
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)
#343438 — rgb(52, 52, 56)
Deuteranopia (Green-blind)
#343537 — rgb(52, 53, 55)
Tritanopia (Blue-blind)
#363636 — rgb(54, 54, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 9%, 21%);
text
color: hsl(274, 9%, 21%);
border
border: 2px solid hsl(274, 9%, 21%);
gradient light
background: linear-gradient(to right, hsl(274, 9%, 41%), hsl(274, 9%, 21%));
gradient dark
background: linear-gradient(to right, hsl(274, 9%, 21%), hsl(274, 9%, 1%))
hex
background-color: #36313A;
tailwind
bg-[hsl(274,9%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 9%, 21%, 0.4);
css variable
--color-primary: hsl(274, 9%, 21%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(274, 9%, 21%)?
HEX: #36313A | RGB: rgb(54, 49, 58) | CMYK: 7%, 16%, 0%, 77% | HSV: 273°, 16%, 23%. Copy any format from the conversion table above.
What colors go well with #36313A?
The complementary color is HSL(94, 9%, 21%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 9%, 21%) in CSS?
As HSL: color: hsl(274, 9%, 21%); — As HEX: color: #36313A; — As RGB: color: rgb(54, 49, 58); — Tailwind CSS: bg-[hsl(274,9%,21%)] — CSS variable: --color-primary: hsl(274, 9%, 21%);