HSL(197, 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(197,10%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 10%, 39%) | color: hsl(197, 10%, 39%) | |
| HEX | #5A686D | color: #5A686D | |
| RGB | rgb(90, 104, 109) | color: rgb(90, 104, 109) | |
| CMYK | cmyk(17%, 5%, 0%, 57%) | — | |
| HSV | hsv(196, 17%, 43%) | — | |
| HWB | hwb(196 36% 57%) | color: hwb(196 36% 57%) | |
| OKLCH | oklch(0.5073 0.0188 221.31) | color: oklch(0.5073 0.0188 221.31) | |
| Lab | lab(43.03 -4.12 -4.59) | color: lab(43.03 -4.12 -4.59) | |
| LCH | lch(43.03 6.17 228.09) | color: lch(43.03 6.17 228.09) |
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)
#60606C — rgb(96, 96, 108)
Deuteranopia (Green-blind)
#5F5E6C — rgb(95, 94, 108)
Tritanopia (Blue-blind)
#5B6B6B — rgb(91, 107, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 10%, 39%);
text
color: hsl(197, 10%, 39%);
border
border: 2px solid hsl(197, 10%, 39%);
gradient light
background: linear-gradient(to right, hsl(197, 10%, 59%), hsl(197, 10%, 39%));
gradient dark
background: linear-gradient(to right, hsl(197, 10%, 39%), hsl(197, 10%, 19%))
hex
background-color: #5A686D;
tailwind
bg-[hsl(197,10%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 10%, 39%, 0.4);
css variable
--color-primary: hsl(197, 10%, 39%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 10%, 39%)?
HEX: #5A686D | RGB: rgb(90, 104, 109) | CMYK: 17%, 5%, 0%, 57% | HSV: 196°, 17%, 43%. Copy any format from the conversion table above.
What colors go well with #5A686D?
The complementary color is HSL(17, 10%, 39%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(197, 10%, 39%) in CSS?
As HSL: color: hsl(197, 10%, 39%); — As HEX: color: #5A686D; — As RGB: color: rgb(90, 104, 109); — Tailwind CSS: bg-[hsl(197,10%,39%)] — CSS variable: --color-primary: hsl(197, 10%, 39%);