HSL(220, 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(220,12%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(220, 12%, 38%) | color: hsl(220, 12%, 38%) | |
| HEX | #555D6D | color: #555D6D | |
| RGB | rgb(85, 93, 109) | color: rgb(85, 93, 109) | |
| CMYK | cmyk(22%, 15%, 0%, 57%) | — | |
| HSV | hsv(220, 22%, 43%) | — | |
| HWB | hwb(220 34% 57%) | color: hwb(220 34% 57%) | |
| OKLCH | oklch(0.4774 0.0277 264.27) | color: oklch(0.4774 0.0277 264.27) | |
| Lab | lab(39.35 0.73 -10.14) | color: lab(39.35 0.73 -10.14) | |
| LCH | lch(39.35 10.17 274.12) | color: lch(39.35 10.17 274.12) |
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)
#585969 — rgb(88, 89, 105)
Deuteranopia (Green-blind)
#585768 — rgb(88, 87, 104)
Tritanopia (Blue-blind)
#556665 — rgb(85, 102, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(220, 12%, 38%);
text
color: hsl(220, 12%, 38%);
border
border: 2px solid hsl(220, 12%, 38%);
gradient light
background: linear-gradient(to right, hsl(220, 12%, 58%), hsl(220, 12%, 38%));
gradient dark
background: linear-gradient(to right, hsl(220, 12%, 38%), hsl(220, 12%, 18%))
hex
background-color: #555D6D;
tailwind
bg-[hsl(220,12%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(220, 12%, 38%, 0.4);
css variable
--color-primary: hsl(220, 12%, 38%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(220, 12%, 38%)?
HEX: #555D6D | RGB: rgb(85, 93, 109) | CMYK: 22%, 15%, 0%, 57% | HSV: 220°, 22%, 43%. Copy any format from the conversion table above.
What colors go well with #555D6D?
The complementary color is HSL(40, 12%, 38%). For a triadic harmony, use hues 220°, 340°, and 100°. For analogous combinations, try hues 190° and 250°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(220, 12%, 38%) in CSS?
As HSL: color: hsl(220, 12%, 38%); — As HEX: color: #555D6D; — As RGB: color: rgb(85, 93, 109); — Tailwind CSS: bg-[hsl(220,12%,38%)] — CSS variable: --color-primary: hsl(220, 12%, 38%);