HSL(199, 9%, 46%)
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(199,9%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(199, 9%, 46%) | color: hsl(199, 9%, 46%) | |
| HEX | #6B7980 | color: #6B7980 | |
| RGB | rgb(107, 121, 128) | color: rgb(107, 121, 128) | |
| CMYK | cmyk(16%, 5%, 0%, 50%) | — | |
| HSV | hsv(200, 16%, 50%) | — | |
| HWB | hwb(200 42% 50%) | color: hwb(200 42% 50%) | |
| OKLCH | oklch(0.5669 0.0199 229.26) | color: oklch(0.5669 0.0199 229.26) | |
| Lab | lab(49.93 -3.59 -5.57) | color: lab(49.93 -3.59 -5.57) | |
| LCH | lch(49.93 6.63 237.2) | color: lch(49.93 6.63 237.2) |
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)
#71717E — rgb(113, 113, 126)
Deuteranopia (Green-blind)
#706F7E — rgb(112, 111, 126)
Tritanopia (Blue-blind)
#6C7D7D — rgb(108, 125, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(199, 9%, 46%);
text
color: hsl(199, 9%, 46%);
border
border: 2px solid hsl(199, 9%, 46%);
gradient light
background: linear-gradient(to right, hsl(199, 9%, 66%), hsl(199, 9%, 46%));
gradient dark
background: linear-gradient(to right, hsl(199, 9%, 46%), hsl(199, 9%, 26%))
hex
background-color: #6B7980;
tailwind
bg-[hsl(199,9%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(199, 9%, 46%, 0.4);
css variable
--color-primary: hsl(199, 9%, 46%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(199, 9%, 46%)?
HEX: #6B7980 | RGB: rgb(107, 121, 128) | CMYK: 16%, 5%, 0%, 50% | HSV: 200°, 16%, 50%. Copy any format from the conversion table above.
What colors go well with #6B7980?
The complementary color is HSL(19, 9%, 46%). For a triadic harmony, use hues 199°, 319°, and 79°. For analogous combinations, try hues 169° and 229°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(199, 9%, 46%) in CSS?
As HSL: color: hsl(199, 9%, 46%); — As HEX: color: #6B7980; — As RGB: color: rgb(107, 121, 128); — Tailwind CSS: bg-[hsl(199,9%,46%)] — CSS variable: --color-primary: hsl(199, 9%, 46%);