HSL(220, 12%, 61%)
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%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(220, 12%, 61%) | color: hsl(220, 12%, 61%) | |
| HEX | #9098A7 | color: #9098A7 | |
| RGB | rgb(144, 152, 167) | color: rgb(144, 152, 167) | |
| CMYK | cmyk(14%, 9%, 0%, 35%) | — | |
| HSV | hsv(219, 14%, 65%) | — | |
| HWB | hwb(219 56% 35%) | color: hwb(219 56% 35%) | |
| OKLCH | oklch(0.6781 0.024 263.15) | color: oklch(0.6781 0.024 263.15) | |
| Lab | lab(62.66 0.27 -8.82) | color: lab(62.66 0.27 -8.82) | |
| LCH | lch(62.66 8.82 271.75) | color: lch(62.66 8.82 271.75) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#9394A3 — rgb(147, 148, 163)
Deuteranopia (Green-blind)
#9392A3 — rgb(147, 146, 163)
Tritanopia (Blue-blind)
#90A1A0 — rgb(144, 161, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(220, 12%, 61%);
text
color: hsl(220, 12%, 61%);
border
border: 2px solid hsl(220, 12%, 61%);
gradient light
background: linear-gradient(to right, hsl(220, 12%, 81%), hsl(220, 12%, 61%));
gradient dark
background: linear-gradient(to right, hsl(220, 12%, 61%), hsl(220, 12%, 41%))
hex
background-color: #9098A7;
tailwind
bg-[hsl(220,12%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(220, 12%, 61%, 0.4);
css variable
--color-primary: hsl(220, 12%, 61%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(220, 12%, 61%)?
HEX: #9098A7 | RGB: rgb(144, 152, 167) | CMYK: 14%, 9%, 0%, 35% | HSV: 219°, 14%, 65%. Copy any format from the conversion table above.
What colors go well with #9098A7?
The complementary color is HSL(40, 12%, 61%). 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%, 61%) in CSS?
As HSL: color: hsl(220, 12%, 61%); — As HEX: color: #9098A7; — As RGB: color: rgb(144, 152, 167); — Tailwind CSS: bg-[hsl(220,12%,61%)] — CSS variable: --color-primary: hsl(220, 12%, 61%);