HSL(164, 10%, 21%)
Grayish Cyan — Cyan color
Adjust Color
Color Information
Color Name
Grayish Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(164,10%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(164, 10%, 21%) | color: hsl(164, 10%, 21%) | |
| HEX | #303B38 | color: #303B38 | |
| RGB | rgb(48, 59, 56) | color: rgb(48, 59, 56) | |
| CMYK | cmyk(19%, 0%, 5%, 77%) | — | |
| HSV | hsv(164, 19%, 23%) | — | |
| HWB | hwb(164 19% 77%) | color: hwb(164 19% 77%) | |
| OKLCH | oklch(0.3412 0.0155 177.01) | color: oklch(0.3412 0.0155 177.01) | |
| Lab | lab(23.81 -5.3 0.34) | color: lab(23.81 -5.3 0.34) | |
| LCH | lch(23.81 5.31 176.33) | color: lch(23.81 5.31 176.33) |
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)
#353539 — rgb(53, 53, 57)
Deuteranopia (Green-blind)
#343339 — rgb(52, 51, 57)
Tritanopia (Blue-blind)
#313939 — rgb(49, 57, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(164, 10%, 21%);
text
color: hsl(164, 10%, 21%);
border
border: 2px solid hsl(164, 10%, 21%);
gradient light
background: linear-gradient(to right, hsl(164, 10%, 41%), hsl(164, 10%, 21%));
gradient dark
background: linear-gradient(to right, hsl(164, 10%, 21%), hsl(164, 10%, 1%))
hex
background-color: #303B38;
tailwind
bg-[hsl(164,10%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(164, 10%, 21%, 0.4);
css variable
--color-primary: hsl(164, 10%, 21%);
Related Colors
Use Cases for Grayish Cyan
Frequently Asked Questions
What are all the color codes for HSL(164, 10%, 21%)?
HEX: #303B38 | RGB: rgb(48, 59, 56) | CMYK: 19%, 0%, 5%, 77% | HSV: 164°, 19%, 23%. Copy any format from the conversion table above.
What colors go well with #303B38?
The complementary color is HSL(344, 10%, 21%). For a triadic harmony, use hues 164°, 284°, and 44°. For analogous combinations, try hues 134° and 194°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(164, 10%, 21%) in CSS?
As HSL: color: hsl(164, 10%, 21%); — As HEX: color: #303B38; — As RGB: color: rgb(48, 59, 56); — Tailwind CSS: bg-[hsl(164,10%,21%)] — CSS variable: --color-primary: hsl(164, 10%, 21%);