HSL(232, 13%, 42%)
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(232,13%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 13%, 42%) | color: hsl(232, 13%, 42%) | |
| HEX | #5D6179 | color: #5D6179 | |
| RGB | rgb(93, 97, 121) | color: rgb(93, 97, 121) | |
| CMYK | cmyk(23%, 20%, 0%, 53%) | — | |
| HSV | hsv(231, 23%, 47%) | — | |
| HWB | hwb(231 36% 53%) | color: hwb(231 36% 53%) | |
| OKLCH | oklch(0.4982 0.0386 277.5) | color: oklch(0.4982 0.0386 277.5) | |
| Lab | lab(41.62 4.12 -13.97) | color: lab(41.62 4.12 -13.97) | |
| LCH | lch(41.62 14.56 286.43) | color: lch(41.62 14.56 286.43) |
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)
#5F5F73 — rgb(95, 95, 115)
Deuteranopia (Green-blind)
#5F5E72 — rgb(95, 94, 114)
Tritanopia (Blue-blind)
#5D6F6E — rgb(93, 111, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 13%, 42%);
text
color: hsl(232, 13%, 42%);
border
border: 2px solid hsl(232, 13%, 42%);
gradient light
background: linear-gradient(to right, hsl(232, 13%, 62%), hsl(232, 13%, 42%));
gradient dark
background: linear-gradient(to right, hsl(232, 13%, 42%), hsl(232, 13%, 22%))
hex
background-color: #5D6179;
tailwind
bg-[hsl(232,13%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 13%, 42%, 0.4);
css variable
--color-primary: hsl(232, 13%, 42%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 13%, 42%)?
HEX: #5D6179 | RGB: rgb(93, 97, 121) | CMYK: 23%, 20%, 0%, 53% | HSV: 231°, 23%, 47%. Copy any format from the conversion table above.
What colors go well with #5D6179?
The complementary color is HSL(52, 13%, 42%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 13%, 42%) in CSS?
As HSL: color: hsl(232, 13%, 42%); — As HEX: color: #5D6179; — As RGB: color: rgb(93, 97, 121); — Tailwind CSS: bg-[hsl(232,13%,42%)] — CSS variable: --color-primary: hsl(232, 13%, 42%);