HSL(245, 12%, 38%)
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(245,12%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 12%, 38%) | color: hsl(245, 12%, 38%) | |
| HEX | #57556D | color: #57556D | |
| RGB | rgb(87, 85, 109) | color: rgb(87, 85, 109) | |
| CMYK | cmyk(20%, 22%, 0%, 57%) | — | |
| HSV | hsv(245, 22%, 43%) | — | |
| HWB | hwb(245 34% 57%) | color: hwb(245 34% 57%) | |
| OKLCH | oklch(0.4607 0.0387 288.6) | color: oklch(0.4607 0.0387 288.6) | |
| Lab | lab(37.16 6.4 -13.43) | color: lab(37.16 6.4 -13.43) | |
| LCH | lch(37.16 14.88 295.48) | color: lch(37.16 14.88 295.48) |
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)
#565667 — rgb(86, 86, 103)
Deuteranopia (Green-blind)
#565666 — rgb(86, 86, 102)
Tritanopia (Blue-blind)
#576362 — rgb(87, 99, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 12%, 38%);
text
color: hsl(245, 12%, 38%);
border
border: 2px solid hsl(245, 12%, 38%);
gradient light
background: linear-gradient(to right, hsl(245, 12%, 58%), hsl(245, 12%, 38%));
gradient dark
background: linear-gradient(to right, hsl(245, 12%, 38%), hsl(245, 12%, 18%))
hex
background-color: #57556D;
tailwind
bg-[hsl(245,12%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 12%, 38%, 0.4);
css variable
--color-primary: hsl(245, 12%, 38%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 12%, 38%)?
HEX: #57556D | RGB: rgb(87, 85, 109) | CMYK: 20%, 22%, 0%, 57% | HSV: 245°, 22%, 43%. Copy any format from the conversion table above.
What colors go well with #57556D?
The complementary color is HSL(65, 12%, 38%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 12%, 38%) in CSS?
As HSL: color: hsl(245, 12%, 38%); — As HEX: color: #57556D; — As RGB: color: rgb(87, 85, 109); — Tailwind CSS: bg-[hsl(245,12%,38%)] — CSS variable: --color-primary: hsl(245, 12%, 38%);