HSL(265, 5%, 50%)
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(265,5%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(265, 5%, 50%) | color: hsl(265, 5%, 50%) | |
| HEX | #7E7986 | color: #7E7986 | |
| RGB | rgb(126, 121, 134) | color: rgb(126, 121, 134) | |
| CMYK | cmyk(6%, 10%, 0%, 47%) | — | |
| HSV | hsv(263, 10%, 53%) | — | |
| HWB | hwb(263 48% 47%) | color: hwb(263 48% 47%) | |
| OKLCH | oklch(0.5849 0.0204 303.18) | color: oklch(0.5849 0.0204 303.18) | |
| Lab | lab(51.65 4.54 -6.39) | color: lab(51.65 4.54 -6.39) | |
| LCH | lch(51.65 7.84 305.39) | color: lch(51.65 7.84 305.39) |
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)
#7C7C83 — rgb(124, 124, 131)
Deuteranopia (Green-blind)
#7C7D82 — rgb(124, 125, 130)
Tritanopia (Blue-blind)
#7E8080 — rgb(126, 128, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(265, 5%, 50%);
text
color: hsl(265, 5%, 50%);
border
border: 2px solid hsl(265, 5%, 50%);
gradient light
background: linear-gradient(to right, hsl(265, 5%, 70%), hsl(265, 5%, 50%));
gradient dark
background: linear-gradient(to right, hsl(265, 5%, 50%), hsl(265, 5%, 30%))
hex
background-color: #7E7986;
tailwind
bg-[hsl(265,5%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(265, 5%, 50%, 0.4);
css variable
--color-primary: hsl(265, 5%, 50%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(265, 5%, 50%)?
HEX: #7E7986 | RGB: rgb(126, 121, 134) | CMYK: 6%, 10%, 0%, 47% | HSV: 263°, 10%, 53%. Copy any format from the conversion table above.
What colors go well with #7E7986?
The complementary color is HSL(85, 5%, 50%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(265, 5%, 50%) in CSS?
As HSL: color: hsl(265, 5%, 50%); — As HEX: color: #7E7986; — As RGB: color: rgb(126, 121, 134); — Tailwind CSS: bg-[hsl(265,5%,50%)] — CSS variable: --color-primary: hsl(265, 5%, 50%);