HSL(240, 10%, 25%)
Grayish Blue — Blue color
Adjust Color
Color Information
Color Name
Grayish Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(240,10%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 10%, 25%) | color: hsl(240, 10%, 25%) | |
| HEX | #393946 | color: #393946 | |
| RGB | rgb(57, 57, 70) | color: rgb(57, 57, 70) | |
| CMYK | cmyk(19%, 19%, 0%, 73%) | — | |
| HSV | hsv(240, 19%, 27%) | — | |
| HWB | hwb(240 22% 73%) | color: hwb(240 22% 73%) | |
| OKLCH | oklch(0.3498 0.0225 285.18) | color: oklch(0.3498 0.0225 285.18) | |
| Lab | lab(24.44 3.22 -7.98) | color: lab(24.44 3.22 -7.98) | |
| LCH | lch(24.44 8.61 291.97) | color: lch(24.44 8.61 291.97) |
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)
#393943 — rgb(57, 57, 67)
Deuteranopia (Green-blind)
#393942 — rgb(57, 57, 66)
Tritanopia (Blue-blind)
#394040 — rgb(57, 64, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 10%, 25%);
text
color: hsl(240, 10%, 25%);
border
border: 2px solid hsl(240, 10%, 25%);
gradient light
background: linear-gradient(to right, hsl(240, 10%, 45%), hsl(240, 10%, 25%));
gradient dark
background: linear-gradient(to right, hsl(240, 10%, 25%), hsl(240, 10%, 5%))
hex
background-color: #393946;
tailwind
bg-[hsl(240,10%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 10%, 25%, 0.4);
css variable
--color-primary: hsl(240, 10%, 25%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 10%, 25%)?
HEX: #393946 | RGB: rgb(57, 57, 70) | CMYK: 19%, 19%, 0%, 73% | HSV: 240°, 19%, 27%. Copy any format from the conversion table above.
What colors go well with #393946?
The complementary color is HSL(60, 10%, 25%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(240, 10%, 25%) in CSS?
As HSL: color: hsl(240, 10%, 25%); — As HEX: color: #393946; — As RGB: color: rgb(57, 57, 70); — Tailwind CSS: bg-[hsl(240,10%,25%)] — CSS variable: --color-primary: hsl(240, 10%, 25%);