HSL(251, 10%, 39%)
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(251,10%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 10%, 39%) | color: hsl(251, 10%, 39%) | |
| HEX | #5D5A6D | color: #5D5A6D | |
| RGB | rgb(93, 90, 109) | color: rgb(93, 90, 109) | |
| CMYK | cmyk(15%, 17%, 0%, 57%) | — | |
| HSV | hsv(249, 17%, 43%) | — | |
| HWB | hwb(249 36% 57%) | color: hwb(249 36% 57%) | |
| OKLCH | oklch(0.4774 0.0305 292.45) | color: oklch(0.4774 0.0305 292.45) | |
| Lab | lab(39.15 5.45 -10.38) | color: lab(39.15 5.45 -10.38) | |
| LCH | lch(39.15 11.72 297.7) | color: lch(39.15 11.72 297.7) |
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)
#5C5C68 — rgb(92, 92, 104)
Deuteranopia (Green-blind)
#5C5C67 — rgb(92, 92, 103)
Tritanopia (Blue-blind)
#5D6564 — rgb(93, 101, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 10%, 39%);
text
color: hsl(251, 10%, 39%);
border
border: 2px solid hsl(251, 10%, 39%);
gradient light
background: linear-gradient(to right, hsl(251, 10%, 59%), hsl(251, 10%, 39%));
gradient dark
background: linear-gradient(to right, hsl(251, 10%, 39%), hsl(251, 10%, 19%))
hex
background-color: #5D5A6D;
tailwind
bg-[hsl(251,10%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 10%, 39%, 0.4);
css variable
--color-primary: hsl(251, 10%, 39%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 10%, 39%)?
HEX: #5D5A6D | RGB: rgb(93, 90, 109) | CMYK: 15%, 17%, 0%, 57% | HSV: 249°, 17%, 43%. Copy any format from the conversion table above.
What colors go well with #5D5A6D?
The complementary color is HSL(71, 10%, 39%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 10%, 39%) in CSS?
As HSL: color: hsl(251, 10%, 39%); — As HEX: color: #5D5A6D; — As RGB: color: rgb(93, 90, 109); — Tailwind CSS: bg-[hsl(251,10%,39%)] — CSS variable: --color-primary: hsl(251, 10%, 39%);