HSL(227, 5%, 26%)
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(227,5%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 5%, 26%) | color: hsl(227, 5%, 26%) | |
| HEX | #3F4046 | color: #3F4046 | |
| RGB | rgb(63, 64, 70) | color: rgb(63, 64, 70) | |
| CMYK | cmyk(10%, 9%, 0%, 73%) | — | |
| HSV | hsv(231, 10%, 27%) | — | |
| HWB | hwb(231 24% 73%) | color: hwb(231 24% 73%) | |
| OKLCH | oklch(0.3728 0.0103 278.34) | color: oklch(0.3728 0.0103 278.34) | |
| Lab | lab(27.2 0.99 -3.79) | color: lab(27.2 0.99 -3.79) | |
| LCH | lch(27.2 3.92 284.64) | color: lch(27.2 3.92 284.64) |
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)
#3F3F45 — rgb(63, 63, 69)
Deuteranopia (Green-blind)
#3F3F44 — rgb(63, 63, 68)
Tritanopia (Blue-blind)
#3F4343 — rgb(63, 67, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 5%, 26%);
text
color: hsl(227, 5%, 26%);
border
border: 2px solid hsl(227, 5%, 26%);
gradient light
background: linear-gradient(to right, hsl(227, 5%, 46%), hsl(227, 5%, 26%));
gradient dark
background: linear-gradient(to right, hsl(227, 5%, 26%), hsl(227, 5%, 6%))
hex
background-color: #3F4046;
tailwind
bg-[hsl(227,5%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 5%, 26%, 0.4);
css variable
--color-primary: hsl(227, 5%, 26%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(227, 5%, 26%)?
HEX: #3F4046 | RGB: rgb(63, 64, 70) | CMYK: 10%, 9%, 0%, 73% | HSV: 231°, 10%, 27%. Copy any format from the conversion table above.
What colors go well with #3F4046?
The complementary color is HSL(47, 5%, 26%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 5%, 26%) in CSS?
As HSL: color: hsl(227, 5%, 26%); — As HEX: color: #3F4046; — As RGB: color: rgb(63, 64, 70); — Tailwind CSS: bg-[hsl(227,5%,26%)] — CSS variable: --color-primary: hsl(227, 5%, 26%);