HSL(233, 9%, 39%)
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(233,9%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 9%, 39%) | color: hsl(233, 9%, 39%) | |
| HEX | #5A5D6C | color: #5A5D6C | |
| RGB | rgb(90, 93, 108) | color: rgb(90, 93, 108) | |
| CMYK | cmyk(17%, 14%, 0%, 58%) | — | |
| HSV | hsv(230, 17%, 42%) | — | |
| HWB | hwb(230 35% 58%) | color: hwb(230 35% 58%) | |
| OKLCH | oklch(0.4812 0.0243 276.51) | color: oklch(0.4812 0.0243 276.51) | |
| Lab | lab(39.72 2.27 -8.92) | color: lab(39.72 2.27 -8.92) | |
| LCH | lch(39.72 9.2 284.28) | color: lch(39.72 9.2 284.28) |
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)
#5B5B68 — rgb(91, 91, 104)
Deuteranopia (Green-blind)
#5B5B68 — rgb(91, 91, 104)
Tritanopia (Blue-blind)
#5A6665 — rgb(90, 102, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 9%, 39%);
text
color: hsl(233, 9%, 39%);
border
border: 2px solid hsl(233, 9%, 39%);
gradient light
background: linear-gradient(to right, hsl(233, 9%, 59%), hsl(233, 9%, 39%));
gradient dark
background: linear-gradient(to right, hsl(233, 9%, 39%), hsl(233, 9%, 19%))
hex
background-color: #5A5D6C;
tailwind
bg-[hsl(233,9%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 9%, 39%, 0.4);
css variable
--color-primary: hsl(233, 9%, 39%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(233, 9%, 39%)?
HEX: #5A5D6C | RGB: rgb(90, 93, 108) | CMYK: 17%, 14%, 0%, 58% | HSV: 230°, 17%, 42%. Copy any format from the conversion table above.
What colors go well with #5A5D6C?
The complementary color is HSL(53, 9%, 39%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 9%, 39%) in CSS?
As HSL: color: hsl(233, 9%, 39%); — As HEX: color: #5A5D6C; — As RGB: color: rgb(90, 93, 108); — Tailwind CSS: bg-[hsl(233,9%,39%)] — CSS variable: --color-primary: hsl(233, 9%, 39%);